Recognised as Colour
#2A40CB
- #2A40CB
- Blue
- Dark
- Nearest: Medium slateblue
#2A40CB is a blue with RGB values 42, 64, 203 and HSL 232°, 66%, 48%. It is a dark colour, so white text on it reaches 7.8:1 contrast (AAA for normal text). The nearest named colour is Medium slateblue.
Colour values
#2A40CB#2A40CB
HEX#2A40CB
RGBrgb(42, 64, 203)
RGB (0–1)0.1647, 0.251, 0.7961
RGB percentages16.5%, 25.1%, 79.6%
HSLhsl(231.8, 65.7%, 48%)
HSV / HSBhsv(231.8, 79.3%, 79.6%)
CMYK79.3%, 68.5%, 0%, 20.4%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,769,099
CSS custom property--colour: #2A40CB;
Brightness & contrast
Relative luminance0.08471WCAG 2.x, 0 is black and 1 is white
Perceived brightness87.3 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 7.79:1
Contrast with white7.79:1WCAG normal text: AAA
Contrast with black2.69:1WCAG normal text: Fail
Greyscale equivalent#454545
Inverted#D5BF34
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text7.79:1WCAG large text: AAA
Contrast with black, large text2.69:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#CBB52A
Analogous#2A91CB, #642ACB
Triadic#CB2A40, #40CB2A
Split complementary#CB652A, #90CB2A
Tetradic#CB2A91, #CBB52A, #2ACB64
Tints, shades & saturation
Channel breakdown
R42
G64
B203
Red42 (16.5%)
Green64 (25.1%)
Blue203 (79.6%)
Hue231.8°
Saturation (HSL)65.71%
Lightness48.04%
Dominant channelBlue
Hex per channelR 2A · G 40 · B CB
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Harmonies
Similar named colours
Nerdulate something else
Nothing in mind? Surprise me · today’s page