#15166A#15166A

#15166A is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.4% C 0.140 H 271.8°. Best body text is #FFFFFF at 15.50:1 contrast (WCAG AA passes).

Color values

HEX#15166A
RGBrgb(21, 22, 106)
HSLhsl(239, 67%, 25%)
HSVhsv(239, 80%, 42%)
CMYKcmyk(80.2%, 79.2%, 0%, 58.4%)
CIE-LABlab(14.25, 31.01, -48.32)
CIE-LCHlch(14.25, 57.41, 302.69°)
OKLaboklab(27.4% 0.0045 -0.1399)
OKLCHoklch(27.4% 0.14 271.8)
XYZxyz(3.1968, 1.7735, 13.8067)
Luminance0.0177 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15166A #6A6915
analogous
#15416A #15166A #3E156A
triadic
#15166A #6A1516 #166A15
tetradic
#15166A #6A1541 #6A6915 #156A3E
square
#15166A #6A1541 #6A6915 #156A3E
split-complementary
#15166A #6A3E15 #416A15
monochromatic
#05051A #0B0B37 #15166A #1F219D #292BD0

Accessibility & contrast

On white

15.50
#15166A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#15166A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15166A
15.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15166A#FFFFFF#000000##FFFFFF
##15166A1.0015.501.3515.50
#FFFFFF15.501.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00286C
Deuteranopia (green-blind)
#002069
Tritanopia (blue-blind)
#002F3F
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #15166a;
/* rgb */ color: rgb(21, 22, 106);
/* oklch */ color: oklch(27.4% 0.140 271.8);
Tailwind
colors: {
  custom: {
    50: '#635496',
    500: '#15166a',
    950: '#000000',
  },
}
SCSS
$custom: #15166a;
$custom-light: #635496;
$custom-dark: #000000;
JSON
{
  "hex": "#15166a",
  "rgb": {
    "r": 21,
    "g": 22,
    "b": 106
  },
  "hsl": {
    "h": 239.294,
    "s": 66.929,
    "l": 24.902
  },
  "oklch": {
    "l": 0.27398,
    "c": 0.13995,
    "h": 271.8
  },
  "luminance": 0.01774
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #15166A

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

Preview Lab → · Contrast checker → · Palette generator →

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