#15166C#15166C

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

Color values

HEX#15166C
RGBrgb(21, 22, 108)
HSLhsl(239, 67%, 25%)
HSVhsv(239, 81%, 42%)
CMYKcmyk(80.6%, 79.6%, 0%, 57.6%)
CIE-LABlab(14.49, 31.73, -49.24)
CIE-LCHlch(14.49, 58.58, 302.80°)
OKLaboklab(27.64% 0.0041 -0.1425)
OKLCHoklch(27.64% 0.143 271.6)
XYZxyz(3.3020, 1.8156, 14.3609)
Luminance0.0182 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15166C #6C6B15
analogous
#15426C #15166C #3F156C
triadic
#15166C #6C1516 #166C15
tetradic
#15166C #6C1542 #6C6B15 #156C3F
square
#15166C #6C1542 #6C6B15 #156C3F
split-complementary
#15166C #6C3F15 #426C15
monochromatic
#05051A #0B0C39 #15166C #1F209F #292BD2

Accessibility & contrast

On white

15.40
#15166C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #15166C
15.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15166C#FFFFFF#000000##FFFFFF
##15166C1.0015.401.3615.40
#FFFFFF15.401.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #15166c;
/* rgb */ color: rgb(21, 22, 108);
/* oklch */ color: oklch(27.6% 0.143 271.6);
Tailwind
colors: {
  custom: {
    50: '#645497',
    500: '#15166c',
    950: '#000000',
  },
}
SCSS
$custom: #15166c;
$custom-light: #645497;
$custom-dark: #000000;
JSON
{
  "hex": "#15166c",
  "rgb": {
    "r": 21,
    "g": 22,
    "b": 108
  },
  "hsl": {
    "h": 239.31,
    "s": 67.442,
    "l": 25.294
  },
  "oklch": {
    "l": 0.27636,
    "c": 0.14261,
    "h": 271.6
  },
  "luminance": 0.01816
}

Semantic roles & 50–950 ramp

primary
#15166C
secondary
#A3A13A
accent
#E83DEA
background
#F6F4F9
surface
#EBE8F2
border
#C6C4CC
text
#06030E
muted
#7A787E

Preview Lab

Preview with #15166C

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

Preview Lab → · Contrast checker → · Palette generator →

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