#151967#151967

#151967 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.5% C 0.133 H 271.5°. Best body text is #FFFFFF at 15.36:1 contrast (WCAG AA passes).

Color values

HEX#151967
RGBrgb(21, 25, 103)
HSLhsl(237, 66%, 24%)
HSVhsv(237, 80%, 40%)
CMYKcmyk(79.6%, 75.7%, 0%, 59.6%)
CIE-LABlab(14.59, 27.98, -45.79)
CIE-LCHlch(14.59, 53.66, 301.42°)
OKLaboklab(27.54% 0.0036 -0.1325)
OKLCHoklch(27.54% 0.133 271.5)
XYZxyz(3.1042, 1.8336, 13.0197)
Luminance0.0183 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151967 #676315
analogous
#154267 #151967 #3A1567
triadic
#151967 #671519 #196715
tetradic
#151967 #671542 #676315 #15673A
square
#151967 #671542 #676315 #15673A
split-complementary
#151967 #673A15 #426715
monochromatic
#050619 #0B0D34 #151967 #1F259A #2A32CD

Accessibility & contrast

On white

15.36
#151967 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#151967 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151967
15.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151967#FFFFFF#000000##FFFFFF
##1519671.0015.361.3715.36
#FFFFFF15.361.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002969
Deuteranopia (green-blind)
#002166
Tritanopia (blue-blind)
#002F3E
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #151967;
/* rgb */ color: rgb(21, 25, 103);
/* oklch */ color: oklch(27.5% 0.133 271.5);
Tailwind
colors: {
  custom: {
    50: '#625693',
    500: '#151967',
    950: '#000000',
  },
}
SCSS
$custom: #151967;
$custom-light: #625693;
$custom-dark: #000000;
JSON
{
  "hex": "#151967",
  "rgb": {
    "r": 21,
    "g": 25,
    "b": 103
  },
  "hsl": {
    "h": 237.073,
    "s": 66.129,
    "l": 24.314
  },
  "oklch": {
    "l": 0.27536,
    "c": 0.13259,
    "h": 271.5
  },
  "luminance": 0.01834
}

Semantic roles & 50–950 ramp

primary
#151967
secondary
#9E993A
accent
#E13FE9
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #151967

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

Preview Lab → · Contrast checker → · Palette generator →

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