Recognised as Colour
#0242C7
- #0242C7
- Blue
- Dark
- Nearest: Slate blue
#0242C7 is a blue with RGB values 2, 66, 199 and HSL 221°, 98%, 39%. It is a dark colour, so white text on it reaches 8.1:1 contrast (AAA for normal text). The nearest named colour is Slate blue.
Colour values
#0242C7#0242C7
HEX#0242C7
RGBrgb(2, 66, 199)
RGB (0–1)0.0078, 0.2588, 0.7804
RGB percentages0.8%, 25.9%, 78%
HSLhsl(220.5, 98%, 39.4%)
HSV / HSBhsv(220.5, 99%, 78%)
CMYK99%, 66.8%, 0%, 22%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer148,167
CSS custom property--colour: #0242C7;
Brightness & contrast
Relative luminance0.08033WCAG 2.x, 0 is black and 1 is white
Perceived brightness84.1 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 8.06:1
Contrast with white8.06:1WCAG normal text: AAA
Contrast with black2.61:1WCAG normal text: Fail
Greyscale equivalent#3E3E3E
Inverted#FDBD38
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text8.06:1WCAG large text: AAA
Contrast with black, large text2.61:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#C78702
Analogous#02A5C7, #2402C7
Triadic#C70242, #42C702
Split complementary#C72402, #A5C702
Tetradic#C702A5, #C78702, #02C724
Tints, shades & saturation
Channel breakdown
R2
G66
B199
Red2 (0.8%)
Green66 (25.9%)
Blue199 (78%)
Hue220.51°
Saturation (HSL)98.01%
Lightness39.41%
Dominant channelBlue
Hex per channelR 02 · G 42 · B C7
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