Recognised as Colour
#0540CF
- #0540CF
- Blue
- Dark
- Nearest: Medium slateblue
#0540CF is a blue with RGB values 5, 64, 207 and HSL 222°, 95%, 42%. It is a dark colour, so white text on it reaches 8:1 contrast (AAA for normal text). The nearest named colour is Medium slateblue.
Colour values
#0540CF#0540CF
HEX#0540CF
RGBrgb(5, 64, 207)
RGB (0–1)0.0196, 0.251, 0.8118
RGB percentages2%, 25.1%, 81.2%
HSLhsl(222.5, 95.3%, 41.6%)
HSV / HSBhsv(222.5, 97.6%, 81.2%)
CMYK97.6%, 69.1%, 0%, 18.8%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer344,271
CSS custom property--colour: #0540CF;
Brightness & contrast
Relative luminance0.08204WCAG 2.x, 0 is black and 1 is white
Perceived brightness85.4 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 7.95:1
Contrast with white7.95:1WCAG normal text: AAA
Contrast with black2.64:1WCAG normal text: Fail
Greyscale equivalent#3E3E3E
Inverted#FABF30
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text7.95:1WCAG large text: AAA
Contrast with black, large text2.64:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#CF9405
Analogous#05A5CF, #2F05CF
Triadic#CF0540, #40CF05
Split complementary#CF2F05, #A5CF05
Tetradic#CF05A5, #CF9405, #05CF2F
Tints, shades & saturation
Channel breakdown
R5
G64
B207
Red5 (2%)
Green64 (25.1%)
Blue207 (81.2%)
Hue222.48°
Saturation (HSL)95.28%
Lightness41.57%
Dominant channelBlue
Hex per channelR 05 · G 40 · B CF
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