#15166F#15166F

#15166F is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.0% C 0.147 H 271.4°. Best body text is #FFFFFF at 15.26:1 contrast (WCAG AA passes).

Color values

HEX#15166F
RGBrgb(21, 22, 111)
HSLhsl(239, 68%, 26%)
HSVhsv(239, 81%, 44%)
CMYKcmyk(81.1%, 80.2%, 0%, 56.5%)
CIE-LABlab(14.85, 32.82, -50.60)
CIE-LCHlch(14.85, 60.31, 302.96°)
OKLaboklab(27.99% 0.0035 -0.1465)
OKLCHoklch(27.99% 0.147 271.4)
XYZxyz(3.4644, 1.8806, 15.2162)
Luminance0.0188 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15166F #6F6E15
analogous
#15436F #15166F #41156F
triadic
#15166F #6F1516 #166F15
tetradic
#15166F #6F1543 #6F6E15 #156F41
square
#15166F #6F1543 #6F6E15 #156F41
split-complementary
#15166F #6F4115 #436F15
monochromatic
#05051A #0B0C3C #15166F #1F20A2 #282AD6

Accessibility & contrast

On white

15.26
#15166F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#15166F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15166F
15.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15166F#FFFFFF#000000##FFFFFF
##15166F1.0015.261.3815.26
#FFFFFF15.261.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A72
Deuteranopia (green-blind)
#00216D
Tritanopia (blue-blind)
#003142
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #15166f;
/* rgb */ color: rgb(21, 22, 111);
/* oklch */ color: oklch(28.0% 0.147 271.4);
Tailwind
colors: {
  custom: {
    50: '#655599',
    500: '#15166f',
    950: '#000000',
  },
}
SCSS
$custom: #15166f;
$custom-light: #655599;
$custom-dark: #000000;
JSON
{
  "hex": "#15166f",
  "rgb": {
    "r": 21,
    "g": 22,
    "b": 111
  },
  "hsl": {
    "h": 239.333,
    "s": 68.182,
    "l": 25.882
  },
  "oklch": {
    "l": 0.27995,
    "c": 0.14655,
    "h": 271.4
  },
  "luminance": 0.01881
}

Semantic roles & 50–950 ramp

primary
#15166F
secondary
#A5A43A
accent
#E93DEB
background
#F6F5F9
surface
#EBE8F2
border
#C6C4CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #15166F

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

Preview Lab → · Contrast checker → · Palette generator →

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