Nerdulator> put something in

Recognised as Colour

#021D7B

  • #021D7B
  • Blue
  • Dark
  • Nearest: Midnight blue

#021D7B is a blue with RGB values 2, 29, 123 and HSL 227°, 97%, 25%. It is a dark colour, so white text on it reaches 14.3:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Colour values

#021D7B#021D7B
HEX#021D7B
RGBrgb(2, 29, 123)
RGB (0–1)0.0078, 0.1137, 0.4824
RGB percentages0.8%, 11.4%, 48.2%
HSLhsl(226.6, 96.8%, 24.5%)
HSV / HSBhsv(226.6, 98.4%, 48.2%)
CMYK98.4%, 76.4%, 0%, 51.8%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer138,619
CSS custom property--colour: #021D7B;

Brightness & contrast

Relative luminance0.02322WCAG 2.x, 0 is black and 1 is white
Perceived brightness47.1 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 14.34:1
Contrast with white14.34:1WCAG normal text: AAA
Contrast with black1.46:1WCAG normal text: Fail
Greyscale equivalent#1E1E1E
Inverted#FDE284

Colour vision & accessibility

Protanopia#00307Eno red cones; affects about 1% of men; ΔE 14.9 from the original
Deuteranopia#002479no green cones; the most common form, about 1% of men; ΔE 6.9 from the original
Tritanopia#00394Ano blue cones; rare, and affects men and women equally; ΔE 57.5 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text14.34:1WCAG large text: AAA
Contrast with black, large text1.46:1WCAG large text: Fail

Named colours

Nearest named CSS colourMidnight blue (#191970)ΔE 5.23, clearly different but related
Hue familyblue
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#7B6002
Analogous#025A7B, #23027B
Triadic#7B021D, #1D7B02
Split complementary#7B2302, #5A7B02
Tetradic#7B025A, #7B6002, #027B23

Tints, shades & saturation

Lighter +40%#4D74FC
Lighter +30%#1B4DFB
Lighter +20%#0435DF
Lighter +10%#0329AD
Darker −10%#011149
Darker −20%#000517
Darker −30%#000000
Darker −40%#000000
More saturated +25%#001C7D
Less saturated −25%#12266B

Channel breakdown

R2
G29
B123
Red2 (0.8%)
Green29 (11.4%)
Blue123 (48.2%)
Hue226.61°
Saturation (HSL)96.8%
Lightness24.51%
Dominant channelBlue
Hex per channelR 02 · G 1D · B 7B

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 “021d7b” by Nerdulator’s colour engine. Nothing here was retrieved from a database of answers or written by a model.