#151A33#151A33

#151A33 is a very dark, muted blue. Relative luminance 0.011; OKLCH L 22.7% C 0.049 H 273.4°. Best body text is #FFFFFF at 17.11:1 contrast (WCAG AA passes).

Color values

HEX#151A33
RGBrgb(21, 26, 51)
HSLhsl(230, 42%, 14%)
HSVhsv(230, 59%, 20%)
CMYKcmyk(58.8%, 49%, 0%, 80%)
CIE-LABlab(10.09, 6.40, -17.28)
CIE-LCHlch(10.09, 18.42, 290.31°)
OKLaboklab(22.72% 0.0029 -0.0489)
OKLCHoklch(22.72% 0.049 273.4)
XYZxyz(1.2760, 1.1372, 3.2836)
Luminance0.0114 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151A33 #332E15
analogous
#152933 #151A33 #1F1533
triadic
#151A33 #33151A #1A3315
tetradic
#151A33 #331529 #332E15 #15331F
square
#151A33 #331529 #332E15 #15331F
split-complementary
#151A33 #331F15 #293315
monochromatic
#090B16 #090B16 #151A33 #27305E #39468A

Accessibility & contrast

On white

17.11
#151A33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#151A33 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151A33
17.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151A33#FFFFFF#000000##FFFFFF
##151A331.0017.111.2317.11
#FFFFFF17.111.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#101D34
Deuteranopia (green-blind)
#0D1A32
Tritanopia (blue-blind)
#091F24
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #151a33;
/* rgb */ color: rgb(21, 26, 51);
/* oklch */ color: oklch(22.7% 0.049 273.4);
Tailwind
colors: {
  custom: {
    50: '#55566b',
    500: '#151a33',
    950: '#000000',
  },
}
SCSS
$custom: #151a33;
$custom-light: #55566b;
$custom-dark: #000000;
JSON
{
  "hex": "#151a33",
  "rgb": {
    "r": 21,
    "g": 26,
    "b": 51
  },
  "hsl": {
    "h": 230,
    "s": 41.667,
    "l": 14.118
  },
  "oklch": {
    "l": 0.22724,
    "c": 0.049,
    "h": 273.4
  },
  "luminance": 0.01137
}

Semantic roles & 50–950 ramp

primary
#151A33
secondary
#6A623A
accent
#BD56D1
background
#F5F5F6
surface
#E8E8EB
border
#C4C4C6
text
#030306
muted
#78787A

Preview Lab

Preview with #151A33

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

Preview Lab → · Contrast checker → · Palette generator →

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