#151966#151966

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

Color values

HEX#151966
RGBrgb(21, 25, 102)
HSLhsl(237, 66%, 24%)
HSVhsv(237, 79%, 40%)
CMYKcmyk(79.4%, 75.5%, 0%, 60%)
CIE-LABlab(14.48, 27.60, -45.32)
CIE-LCHlch(14.48, 53.06, 301.34°)
OKLaboklab(27.42% 0.0037 -0.1312)
OKLCHoklch(27.42% 0.131 271.6)
XYZxyz(3.0544, 1.8137, 12.7569)
Luminance0.0181 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151966 #666215
analogous
#154266 #151966 #3A1566
triadic
#151966 #661519 #196615
tetradic
#151966 #661542 #666215 #15663A
square
#151966 #661542 #666215 #15663A
split-complementary
#151966 #663A15 #426615
monochromatic
#050619 #0B0D33 #151966 #1F2599 #2A32CC

Accessibility & contrast

On white

15.41
#151966 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#151966 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151966
15.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151966#FFFFFF#000000##FFFFFF
##1519661.0015.411.3615.41
#FFFFFF15.411.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002868
Deuteranopia (green-blind)
#002165
Tritanopia (blue-blind)
#002F3D
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #151966;
/* rgb */ color: rgb(21, 25, 102);
/* oklch */ color: oklch(27.4% 0.131 271.6);
Tailwind
colors: {
  custom: {
    50: '#625693',
    500: '#151966',
    950: '#000000',
  },
}
SCSS
$custom: #151966;
$custom-light: #625693;
$custom-dark: #000000;
JSON
{
  "hex": "#151966",
  "rgb": {
    "r": 21,
    "g": 25,
    "b": 102
  },
  "hsl": {
    "h": 237.037,
    "s": 65.854,
    "l": 24.118
  },
  "oklch": {
    "l": 0.27423,
    "c": 0.13121,
    "h": 271.6
  },
  "luminance": 0.01814
}

Semantic roles & 50–950 ramp

primary
#151966
secondary
#9D983A
accent
#E03FE9
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #151966

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

Preview Lab → · Contrast checker → · Palette generator →

#151966 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva