#151D3F#151D3F

#151D3F is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.4% C 0.065 H 270.9°. Best body text is #FFFFFF at 16.41:1 contrast (WCAG AA passes).

Color values

HEX#151D3F
RGBrgb(21, 29, 63)
HSLhsl(229, 50%, 16%)
HSVhsv(229, 67%, 25%)
CMYKcmyk(66.7%, 54%, 0%, 75.3%)
CIE-LABlab(11.94, 8.93, -22.90)
CIE-LCHlch(11.94, 24.58, 291.30°)
OKLaboklab(24.41% 0.001 -0.0654)
OKLCHoklch(24.41% 0.065 270.9)
XYZxyz(1.6455, 1.3969, 4.8846)
Luminance0.0140 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151D3F #3F3715
analogous
#15323F #151D3F #22153F
triadic
#151D3F #3F151D #1D3F15
tetradic
#151D3F #3F1532 #3F3715 #153F22
square
#151D3F #3F1532 #3F3715 #153F22
split-complementary
#151D3F #3F2215 #323F15
monochromatic
#080B17 #080B17 #151D3F #24326D #34479B

Accessibility & contrast

On white

16.41
#151D3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#151D3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151D3F
16.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151D3F#FFFFFF#000000##FFFFFF
##151D3F1.0016.411.2816.41
#FFFFFF16.411.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D2140
Deuteranopia (green-blind)
#071E3E
Tritanopia (blue-blind)
#00252A
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #151d3f;
/* rgb */ color: rgb(21, 29, 63);
/* oklch */ color: oklch(24.4% 0.065 270.9);
Tailwind
colors: {
  custom: {
    50: '#575874',
    500: '#151d3f',
    950: '#000000',
  },
}
SCSS
$custom: #151d3f;
$custom-light: #575874;
$custom-dark: #000000;
JSON
{
  "hex": "#151d3f",
  "rgb": {
    "r": 21,
    "g": 29,
    "b": 63
  },
  "hsl": {
    "h": 228.571,
    "s": 50,
    "l": 16.471
  },
  "oklch": {
    "l": 0.24414,
    "c": 0.06537,
    "h": 270.9
  },
  "luminance": 0.01397
}

Semantic roles & 50–950 ramp

primary
#151D3F
secondary
#776B39
accent
#BF4EDA
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030308
muted
#78787B

Preview Lab

Preview with #151D3F

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

Preview Lab → · Contrast checker → · Palette generator →

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