Nerdulator> put something in

Recognised as Colour

#0502D8

  • #0502D8
  • Blue
  • Dark
  • Nearest: Medium blue

#0502D8 is a blue with RGB values 5, 2, 216 and HSL 241°, 98%, 43%. It is a dark colour, so white text on it reaches 10.5:1 contrast (AAA for normal text). The nearest named colour is Medium blue.

Colour values

#0502D8#0502D8
HEX#0502D8
RGBrgb(5, 2, 216)
RGB (0–1)0.0196, 0.0078, 0.8471
RGB percentages2%, 0.8%, 84.7%
HSLhsl(240.8, 98.2%, 42.7%)
HSV / HSBhsv(240.8, 99.1%, 84.7%)
CMYK97.7%, 99.1%, 0%, 15.3%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer328,408
CSS custom property--colour: #0502D8;

Brightness & contrast

Relative luminance0.05034WCAG 2.x, 0 is black and 1 is white
Perceived brightness73 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 10.46:1
Contrast with white10.46:1WCAG normal text: AAA
Contrast with black2.01:1WCAG normal text: Fail
Greyscale equivalent#121212
Inverted#FAFD27

Colour vision & accessibility

Protanopia#004ADDno red cones; affects about 1% of men; ΔE 35.1 from the original
Deuteranopia#0033D5no green cones; the most common form, about 1% of men; ΔE 21.9 from the original
Tritanopia#005A7Eno blue cones; rare, and affects men and women equally; ΔE 104.2 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text10.46:1WCAG large text: AAA
Contrast with black, large text2.01:1WCAG large text: Fail

Named colours

Nearest named CSS colourMedium blue (#0000CD)ΔE 4.44, a close match
Hue familyblue
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#D5D802
Analogous#026AD8, #7002D8
Triadic#D80502, #02D805
Split complementary#D87002, #6AD802
Tetradic#D8026A, #D5D802, #02D870

Tints, shades & saturation

Lighter +40%#A9A8FE
Lighter +30%#7775FE
Lighter +20%#4543FD
Lighter +10%#1410FD
Darker −10%#0402A5
Darker −20%#030173
Darker −30%#010140
Darker −40%#00000E
More saturated +25%#0300DA
Less saturated −25%#1F1DBD

Channel breakdown

R5
G2
B216
Red5 (2%)
Green2 (0.8%)
Blue216 (84.7%)
Hue240.84°
Saturation (HSL)98.17%
Lightness42.75%
Dominant channelBlue
Hex per channelR 05 · G 02 · B D8

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

Every value on this page was computed from “0502d8” by Nerdulator’s colour engine. Nothing here was retrieved from a database of answers or written by a model.