Recognised as Colour
#402DBB
- #402DBB
- Blue
- Dark
- Nearest: Dark blue
#402DBB is a blue with RGB values 64, 45, 187 and HSL 248°, 61%, 45%. It is a dark colour, so white text on it reaches 9.1:1 contrast (AAA for normal text). The nearest named colour is Dark blue.
Colour values
#402DBB#402DBB
HEX#402DBB
RGBrgb(64, 45, 187)
RGB (0–1)0.251, 0.1765, 0.7333
RGB percentages25.1%, 17.6%, 73.3%
HSLhsl(248, 61.2%, 45.5%)
HSV / HSBhsv(248, 75.9%, 73.3%)
CMYK65.8%, 75.9%, 0%, 26.7%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer4,206,011
CSS custom property--colour: #402DBB;
Brightness & contrast
Relative luminance0.06555WCAG 2.x, 0 is black and 1 is white
Perceived brightness80 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 9.09:1
Contrast with white9.09:1WCAG normal text: AAA
Contrast with black2.31:1WCAG normal text: Fail
Greyscale equivalent#3B3B3B
Inverted#BFD244
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text9.09:1WCAG large text: AAA
Contrast with black, large text2.31:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#A8BB2D
Analogous#2D61BB, #872DBB
Triadic#BB402D, #2DBB40
Split complementary#BB872D, #61BB2D
Tetradic#BB2D61, #A8BB2D, #2DBB87
Tints, shades & saturation
Channel breakdown
R64
G45
B187
Red64 (25.1%)
Green45 (17.6%)
Blue187 (73.3%)
Hue248.03°
Saturation (HSL)61.21%
Lightness45.49%
Dominant channelBlue
Hex per channelR 40 · G 2D · B BB
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