#15166D#15166D

#15166D is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.8% C 0.144 H 271.6°. Best body text is #FFFFFF at 15.36:1 contrast (WCAG AA passes).

Color values

HEX#15166D
RGBrgb(21, 22, 109)
HSLhsl(239, 68%, 25%)
HSVhsv(239, 81%, 43%)
CMYKcmyk(80.7%, 79.8%, 0%, 57.3%)
CIE-LABlab(14.61, 32.10, -49.70)
CIE-LCHlch(14.61, 59.16, 302.86°)
OKLaboklab(27.76% 0.0039 -0.1439)
OKLCHoklch(27.76% 0.144 271.6)
XYZxyz(3.3556, 1.8370, 14.6428)
Luminance0.0184 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15166D #6D6C15
analogous
#15426D #15166D #40156D
triadic
#15166D #6D1516 #166D15
tetradic
#15166D #6D1542 #6D6C15 #156D40
square
#15166D #6D1542 #6D6C15 #156D40
split-complementary
#15166D #6D4015 #426D15
monochromatic
#05051A #0B0C3A #15166D #1F20A0 #292BD4

Accessibility & contrast

On white

15.36
#15166D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#15166D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15166D
15.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15166D#FFFFFF#000000##FFFFFF
##15166D1.0015.361.3715.36
#FFFFFF15.361.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296F
Deuteranopia (green-blind)
#00206B
Tritanopia (blue-blind)
#003040
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #15166d;
/* rgb */ color: rgb(21, 22, 109);
/* oklch */ color: oklch(27.8% 0.144 271.6);
Tailwind
colors: {
  custom: {
    50: '#645498',
    500: '#15166d',
    950: '#000000',
  },
}
SCSS
$custom: #15166d;
$custom-light: #645498;
$custom-dark: #000000;
JSON
{
  "hex": "#15166d",
  "rgb": {
    "r": 21,
    "g": 22,
    "b": 109
  },
  "hsl": {
    "h": 239.318,
    "s": 67.692,
    "l": 25.49
  },
  "oklch": {
    "l": 0.27755,
    "c": 0.14392,
    "h": 271.6
  },
  "luminance": 0.01837
}

Semantic roles & 50–950 ramp

primary
#15166D
secondary
#A3A23A
accent
#E93DEB
background
#F6F4F9
surface
#EBE8F2
border
#C6C4CC
text
#06030E
muted
#7A787E

Preview Lab

Preview with #15166D

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#15166D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva