#151D38#151D38

#151D38 is a very dark, muted blue. Relative luminance 0.013; OKLCH L 23.9% C 0.053 H 269.6°. Best body text is #FFFFFF at 16.60:1 contrast (WCAG AA passes).

Color values

HEX#151D38
RGBrgb(21, 29, 56)
HSLhsl(226, 45%, 15%)
HSVhsv(226, 63%, 22%)
CMYKcmyk(62.5%, 48.2%, 0%, 78%)
CIE-LABlab(11.44, 6.08, -18.72)
CIE-LCHlch(11.44, 19.69, 287.99°)
OKLaboklab(23.87% -0.0004 -0.0531)
OKLCHoklch(23.87% 0.053 269.6)
XYZxyz(1.4622, 1.3236, 3.9190)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151D38 #383015
analogous
#152E38 #151D38 #1F1538
triadic
#151D38 #38151D #1D3815
tetradic
#151D38 #38152E #383015 #15381F
square
#151D38 #38152E #383015 #15381F
split-complementary
#151D38 #381F15 #2E3815
monochromatic
#080C16 #080C16 #151D38 #263465 #364B91

Accessibility & contrast

On white

16.60
#151D38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#151D38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151D38
16.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151D38#FFFFFF#000000##FFFFFF
##151D381.0016.601.2616.60
#FFFFFF16.601.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122039
Deuteranopia (green-blind)
#0E1D37
Tritanopia (blue-blind)
#052327
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #151d38;
/* rgb */ color: rgb(21, 29, 56);
/* oklch */ color: oklch(23.9% 0.053 269.6);
Tailwind
colors: {
  custom: {
    50: '#55586f',
    500: '#151d38',
    950: '#000000',
  },
}
SCSS
$custom: #151d38;
$custom-light: #55586f;
$custom-dark: #000000;
JSON
{
  "hex": "#151d38",
  "rgb": {
    "r": 21,
    "g": 29,
    "b": 56
  },
  "hsl": {
    "h": 226.286,
    "s": 45.455,
    "l": 15.098
  },
  "oklch": {
    "l": 0.23872,
    "c": 0.05312,
    "h": 269.6
  },
  "luminance": 0.01324
}

Semantic roles & 50–950 ramp

primary
#151D38
secondary
#6F633A
accent
#B753D5
background
#F5F5F6
surface
#E9E9EC
border
#C5C5C7
text
#030307
muted
#78787A

Preview Lab

Preview with #151D38

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

Preview Lab → · Contrast checker → · Palette generator →

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