Recognised as Colour
#0840FA
- #0840FA
- Blue
- Dark
- Nearest: Medium blue
#0840FA is a blue with RGB values 8, 64, 250 and HSL 226°, 96%, 51%. It is a dark colour, so white text on it reaches 6.7:1 contrast (AA for normal text). The nearest named colour is Medium blue.
Colour values
#0840FA#0840FA
HEX#0840FA
RGBrgb(8, 64, 250)
RGB (0–1)0.0314, 0.251, 0.9804
RGB percentages3.1%, 25.1%, 98%
HSLhsl(226.1, 96%, 50.6%)
HSV / HSBhsv(226.1, 96.8%, 98%)
CMYK96.8%, 74.4%, 0%, 2%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer540,922
CSS custom property--colour: #0840FA;
Brightness & contrast
Relative luminance0.10621WCAG 2.x, 0 is black and 1 is white
Perceived brightness97.7 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 6.72:1
Contrast with white6.72:1WCAG normal text: AA
Contrast with black3.12:1WCAG normal text: Fail
Greyscale equivalent#424242
Inverted#F7BF05
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text6.72:1WCAG large text: AAA
Contrast with black, large text3.12:1WCAG large text: AA
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#FAC208
Analogous#08B9FA, #4908FA
Triadic#FA0840, #40FA08
Split complementary#FA4908, #B9FA08
Tetradic#FA08B9, #FAC208, #08FA49
Tints, shades & saturation
Channel breakdown
R8
G64
B250
Red8 (3.1%)
Green64 (25.1%)
Blue250 (98%)
Hue226.12°
Saturation (HSL)96.03%
Lightness50.59%
Dominant channelBlue
Hex per channelR 08 · G 40 · B FA
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