#151D4F#151D4F

#151D4F is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.8% C 0.092 H 271.5°. Best body text is #FFFFFF at 15.90:1 contrast (WCAG AA passes).

Color values

HEX#151D4F
RGBrgb(21, 29, 79)
HSLhsl(232, 58%, 20%)
HSVhsv(232, 73%, 31%)
CMYKcmyk(73.4%, 63.3%, 0%, 69%)
CIE-LABlab(13.25, 15.55, -31.89)
CIE-LCHlch(13.25, 35.48, 296.00°)
OKLaboklab(25.82% 0.0024 -0.0918)
OKLCHoklch(25.82% 0.092 271.5)
XYZxyz(2.1594, 1.6025, 7.5911)
Luminance0.0160 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151D4F #4F4715
analogous
#153A4F #151D4F #2A154F
triadic
#151D4F #4F151D #1D4F15
tetradic
#151D4F #4F153A #4F4715 #154F2A
square
#151D4F #4F153A #4F4715 #154F2A
split-complementary
#151D4F #4F2A15 #3A4F15
monochromatic
#060918 #080B1F #151D4F #222F7F #2F40B0

Accessibility & contrast

On white

15.90
#151D4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #151D4F
15.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151D4F#FFFFFF#000000##FFFFFF
##151D4F1.0015.901.3215.90
#FFFFFF15.901.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002551
Deuteranopia (green-blind)
#00204E
Tritanopia (blue-blind)
#002932
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #151d4f;
/* rgb */ color: rgb(21, 29, 79);
/* oklch */ color: oklch(25.8% 0.092 271.5);
Tailwind
colors: {
  custom: {
    50: '#5b5881',
    500: '#151d4f',
    950: '#000000',
  },
}
SCSS
$custom: #151d4f;
$custom-light: #5b5881;
$custom-dark: #000000;
JSON
{
  "hex": "#151d4f",
  "rgb": {
    "r": 21,
    "g": 29,
    "b": 79
  },
  "hsl": {
    "h": 231.724,
    "s": 58,
    "l": 19.608
  },
  "oklch": {
    "l": 0.25815,
    "c": 0.09185,
    "h": 271.5
  },
  "luminance": 0.01603
}

Semantic roles & 50–950 ramp

primary
#151D4F
secondary
#877C39
accent
#CC47E1
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #151D4F

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

Preview Lab → · Contrast checker → · Palette generator →

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