Nerdulator> put something in

Recognised as Colour

#152C7C

  • #152C7C
  • Blue
  • Dark
  • Nearest: Midnight blue

#152C7C is a blue with RGB values 21, 44, 124 and HSL 227°, 71%, 28%. It is a dark colour, so white text on it reaches 12.5:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Colour values

#152C7C#152C7C
HEX#152C7C
RGBrgb(21, 44, 124)
RGB (0–1)0.0824, 0.1725, 0.4863
RGB percentages8.2%, 17.3%, 48.6%
HSLhsl(226.6, 71%, 28.4%)
HSV / HSBhsv(226.6, 83.1%, 48.6%)
CMYK83.1%, 64.5%, 0%, 51.4%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer1,387,644
CSS custom property--colour: #152C7C;

Brightness & contrast

Relative luminance0.03416WCAG 2.x, 0 is black and 1 is white
Perceived brightness55 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 12.48:1
Contrast with white12.48:1WCAG normal text: AAA
Contrast with black1.68:1WCAG normal text: Fail
Greyscale equivalent#2D2D2D
Inverted#EAD383

Colour vision & accessibility

Protanopia#00397Fno red cones; affects about 1% of men; ΔE 10.8 from the original
Deuteranopia#002F7Ano green cones; the most common form, about 1% of men; ΔE 4.7 from the original
Tritanopia#00414Fno blue cones; rare, and affects men and women equally; ΔE 49.6 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text12.48:1WCAG large text: AAA
Contrast with black, large text1.68:1WCAG large text: Fail

Named colours

Nearest named CSS colourMidnight blue (#191970)ΔE 10.45, a distinctly different colour
Hue familyblue
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#7C6515
Analogous#155F7C, #32157C
Triadic#7C152C, #2C7C15
Split complementary#7C3215, #5F7C15
Tetradic#7C155F, #7C6515, #157C32

Tints, shades & saturation

Lighter +40%#758FE8
Lighter +30%#4A6BE0
Lighter +20%#244BD3
Lighter +10%#1C3BA8
Darker −10%#0E1D50
Darker −20%#060D25
Darker −30%#000000
Darker −40%#000000
More saturated +25%#03228E
Less saturated −25%#27366A

Channel breakdown

R21
G44
B124
Red21 (8.2%)
Green44 (17.3%)
Blue124 (48.6%)
Hue226.6°
Saturation (HSL)71.03%
Lightness28.43%
Dominant channelBlue
Hex per channelR 15 · G 2C · B 7C

Keep nerding

Every link below is a page Nerdulator can generate from what it already knows about this value.

Nerdulate something else

Nothing in mind? Surprise me · today’s page

Every value on this page was computed from “152c7c” by Nerdulator’s colour engine. Nothing here was retrieved from a database of answers or written by a model.