#15166B#15166B

#15166B is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.5% C 0.141 H 271.7°. Best body text is #FFFFFF at 15.45:1 contrast (WCAG AA passes).

Color values

HEX#15166B
RGBrgb(21, 22, 107)
HSLhsl(239, 67%, 25%)
HSVhsv(239, 80%, 42%)
CMYKcmyk(80.4%, 79.4%, 0%, 58%)
CIE-LABlab(14.37, 31.37, -48.78)
CIE-LCHlch(14.37, 58.00, 302.74°)
OKLaboklab(27.52% 0.0043 -0.1412)
OKLCHoklch(27.52% 0.141 271.7)
XYZxyz(3.2491, 1.7944, 14.0822)
Luminance0.0180 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15166B #6B6A15
analogous
#15416B #15166B #3F156B
triadic
#15166B #6B1516 #166B15
tetradic
#15166B #6B1541 #6B6A15 #156B3F
square
#15166B #6B1541 #6B6A15 #156B3F
split-complementary
#15166B #6B3F15 #416B15
monochromatic
#05051A #0B0B38 #15166B #1F219E #292BD1

Accessibility & contrast

On white

15.45
#15166B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#15166B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15166B
15.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15166B#FFFFFF#000000##FFFFFF
##15166B1.0015.451.3615.45
#FFFFFF15.451.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296D
Deuteranopia (green-blind)
#00206A
Tritanopia (blue-blind)
#002F3F
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #15166b;
/* rgb */ color: rgb(21, 22, 107);
/* oklch */ color: oklch(27.5% 0.141 271.7);
Tailwind
colors: {
  custom: {
    50: '#635496',
    500: '#15166b',
    950: '#000000',
  },
}
SCSS
$custom: #15166b;
$custom-light: #635496;
$custom-dark: #000000;
JSON
{
  "hex": "#15166b",
  "rgb": {
    "r": 21,
    "g": 22,
    "b": 107
  },
  "hsl": {
    "h": 239.302,
    "s": 67.188,
    "l": 25.098
  },
  "oklch": {
    "l": 0.27516,
    "c": 0.14129,
    "h": 271.7
  },
  "luminance": 0.01795
}

Semantic roles & 50–950 ramp

primary
#15166B
secondary
#A2A03A
accent
#E83EEA
background
#F6F4F9
surface
#EBE8F2
border
#C6C4CC
text
#06030D
muted
#7A787E

Preview Lab

Preview with #15166B

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

Preview Lab → · Contrast checker → · Palette generator →

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