#151D3E#151D3E

#151D3E is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.3% C 0.064 H 270.8°. Best body text is #FFFFFF at 16.44:1 contrast (WCAG AA passes).

Color values

HEX#151D3E
RGBrgb(21, 29, 62)
HSLhsl(228, 49%, 16%)
HSVhsv(228, 66%, 24%)
CMYKcmyk(66.1%, 53.2%, 0%, 75.7%)
CIE-LABlab(11.86, 8.52, -22.31)
CIE-LCHlch(11.86, 23.88, 290.90°)
OKLaboklab(24.33% 0.0009 -0.0636)
OKLCHoklch(24.33% 0.064 270.8)
XYZxyz(1.6178, 1.3858, 4.7387)
Luminance0.0139 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151D3E #3E3615
analogous
#15323E #151D3E #22153E
triadic
#151D3E #3E151D #1D3E15
tetradic
#151D3E #3E1532 #3E3615 #153E22
square
#151D3E #3E1532 #3E3615 #153E22
split-complementary
#151D3E #3E2215 #323E15
monochromatic
#080B17 #080B17 #151D3E #24326C #344899

Accessibility & contrast

On white

16.44
#151D3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #151D3E
16.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151D3E#FFFFFF#000000##FFFFFF
##151D3E1.0016.441.2816.44
#FFFFFF16.441.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D213F
Deuteranopia (green-blind)
#081E3D
Tritanopia (blue-blind)
#00242A
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #151d3e;
/* rgb */ color: rgb(21, 29, 62);
/* oklch */ color: oklch(24.3% 0.064 270.8);
Tailwind
colors: {
  custom: {
    50: '#575873',
    500: '#151d3e',
    950: '#000000',
  },
}
SCSS
$custom: #151d3e;
$custom-light: #575873;
$custom-dark: #000000;
JSON
{
  "hex": "#151d3e",
  "rgb": {
    "r": 21,
    "g": 29,
    "b": 62
  },
  "hsl": {
    "h": 228.293,
    "s": 49.398,
    "l": 16.275
  },
  "oklch": {
    "l": 0.24334,
    "c": 0.06365,
    "h": 270.8
  },
  "luminance": 0.01386
}

Semantic roles & 50–950 ramp

primary
#151D3E
secondary
#766A39
accent
#BE4FD9
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030308
muted
#78787B

Preview Lab

Preview with #151D3E

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

Preview Lab → · Contrast checker → · Palette generator →

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