Recognised as Colour
#0502BA
- #0502BA
- Blue
- Dark
- Nearest: Medium blue
#0502BA is a blue with RGB values 5, 2, 186 and HSL 241°, 98%, 37%. It is a dark colour, so white text on it reaches 12.2:1 contrast (AAA for normal text). The nearest named colour is Medium blue.
Colour values
#0502BA#0502BA
HEX#0502BA
RGBrgb(5, 2, 186)
RGB (0–1)0.0196, 0.0078, 0.7294
RGB percentages2%, 0.8%, 72.9%
HSLhsl(241, 97.9%, 36.9%)
HSV / HSBhsv(241, 98.9%, 72.9%)
CMYK97.3%, 98.9%, 0%, 27.1%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer328,378
CSS custom property--colour: #0502BA;
Brightness & contrast
Relative luminance0.03621WCAG 2.x, 0 is black and 1 is white
Perceived brightness62.9 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 12.18:1
Contrast with white12.18:1WCAG normal text: AAA
Contrast with black1.72:1WCAG normal text: Fail
Greyscale equivalent#101010
Inverted#FAFD45
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text12.18:1WCAG large text: AAA
Contrast with black, large text1.72:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#B7BA02
Analogous#025BBA, #6102BA
Triadic#BA0502, #02BA05
Split complementary#BA6102, #5BBA02
Tetradic#BA025B, #B7BA02, #02BA61
Tints, shades & saturation
Channel breakdown
R5
G2
B186
Red5 (2%)
Green2 (0.8%)
Blue186 (72.9%)
Hue240.98°
Saturation (HSL)97.87%
Lightness36.86%
Dominant channelBlue
Hex per channelR 05 · G 02 · B BA
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