#151D33#151D33

#151D33 is a very dark, muted blue. Relative luminance 0.013; OKLCH L 23.5% C 0.044 H 267.8°. Best body text is #FFFFFF at 16.73:1 contrast (WCAG AA passes).

Color values

HEX#151D33
RGBrgb(21, 29, 51)
HSLhsl(224, 42%, 14%)
HSVhsv(224, 59%, 20%)
CMYKcmyk(58.8%, 43.1%, 0%, 80%)
CIE-LABlab(11.11, 4.10, -15.65)
CIE-LCHlch(11.11, 16.18, 284.67°)
OKLaboklab(23.52% -0.0017 -0.0441)
OKLCHoklch(23.52% 0.044 267.8)
XYZxyz(1.3460, 1.2771, 3.3069)
Luminance0.0128 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151D33 #332B15
analogous
#152C33 #151D33 #1C1533
triadic
#151D33 #33151D #1D3315
tetradic
#151D33 #33152C #332B15 #15331C
square
#151D33 #33152C #332B15 #15331C
split-complementary
#151D33 #331C15 #2C3315
monochromatic
#090C16 #090C16 #151D33 #27365E #394E8A

Accessibility & contrast

On white

16.73
#151D33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #151D33
16.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151D33#FFFFFF#000000##FFFFFF
##151D331.0016.731.2616.73
#FFFFFF16.731.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#151F34
Deuteranopia (green-blind)
#111C33
Tritanopia (blue-blind)
#082225
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #151d33;
/* rgb */ color: rgb(21, 29, 51);
/* oklch */ color: oklch(23.5% 0.044 267.8);
Tailwind
colors: {
  custom: {
    50: '#54586a',
    500: '#151d33',
    950: '#000000',
  },
}
SCSS
$custom: #151d33;
$custom-light: #54586a;
$custom-dark: #000000;
JSON
{
  "hex": "#151d33",
  "rgb": {
    "r": 21,
    "g": 29,
    "b": 51
  },
  "hsl": {
    "h": 224,
    "s": 41.667,
    "l": 14.118
  },
  "oklch": {
    "l": 0.23516,
    "c": 0.04417,
    "h": 267.8
  },
  "luminance": 0.01277
}

Semantic roles & 50–950 ramp

primary
#151D33
secondary
#6A5D3A
accent
#B156D1
background
#F5F5F6
surface
#E8E9EB
border
#C4C5C6
text
#030306
muted
#78787A

Preview Lab

Preview with #151D33

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

Preview Lab → · Contrast checker → · Palette generator →

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