#151E4D#151E4D

#151E4D is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.9% C 0.087 H 270.9°. Best body text is #FFFFFF at 15.85:1 contrast (WCAG AA passes).

Color values

HEX#151E4D
RGBrgb(21, 30, 77)
HSLhsl(230, 57%, 19%)
HSVhsv(230, 73%, 30%)
CMYKcmyk(72.7%, 61%, 0%, 69.8%)
CIE-LABlab(13.37, 13.97, -30.31)
CIE-LCHlch(13.37, 33.38, 294.75°)
OKLaboklab(25.86% 0.0013 -0.0872)
OKLCHoklch(25.86% 0.087 270.9)
XYZxyz(2.1126, 1.6236, 7.2218)
Luminance0.0162 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151E4D #4D4415
analogous
#153A4D #151E4D #28154D
triadic
#151E4D #4D151E #1E4D15
tetradic
#151E4D #4D153A #4D4415 #154D28
square
#151E4D #4D153A #4D4415 #154D28
split-complementary
#151E4D #4D2815 #3A4D15
monochromatic
#070918 #080B1D #151E4D #22317D #2F43AD

Accessibility & contrast

On white

15.85
#151E4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#151E4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151E4D
15.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151E4D#FFFFFF#000000##FFFFFF
##151E4D1.0015.851.3215.85
#FFFFFF15.851.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00254F
Deuteranopia (green-blind)
#00204C
Tritanopia (blue-blind)
#002932
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #151e4d;
/* rgb */ color: rgb(21, 30, 77);
/* oklch */ color: oklch(25.9% 0.087 270.9);
Tailwind
colors: {
  custom: {
    50: '#5a597f',
    500: '#151e4d',
    950: '#000000',
  },
}
SCSS
$custom: #151e4d;
$custom-light: #5a597f;
$custom-dark: #000000;
JSON
{
  "hex": "#151e4d",
  "rgb": {
    "r": 21,
    "g": 30,
    "b": 77
  },
  "hsl": {
    "h": 230.357,
    "s": 57.143,
    "l": 19.216
  },
  "oklch": {
    "l": 0.25856,
    "c": 0.08718,
    "h": 270.9
  },
  "luminance": 0.01624
}

Semantic roles & 50–950 ramp

primary
#151E4D
secondary
#857939
accent
#C847E0
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #151E4D

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

Preview Lab → · Contrast checker → · Palette generator →

#151E4D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva