#151C33#151C33

#151C33 is a very dark, muted blue. Relative luminance 0.012; OKLCH L 23.2% C 0.046 H 269.8°. Best body text is #FFFFFF at 16.86:1 contrast (WCAG AA passes).

Color values

HEX#151C33
RGBrgb(21, 28, 51)
HSLhsl(226, 42%, 14%)
HSVhsv(226, 59%, 20%)
CMYKcmyk(58.8%, 45.1%, 0%, 80%)
CIE-LABlab(10.77, 4.86, -16.20)
CIE-LCHlch(10.77, 16.91, 286.70°)
OKLaboklab(23.25% -0.0002 -0.0457)
OKLCHoklch(23.25% 0.046 269.8)
XYZxyz(1.3219, 1.2289, 3.2989)
Luminance0.0123 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151C33 #332C15
analogous
#152B33 #151C33 #1D1533
triadic
#151C33 #33151C #1C3315
tetradic
#151C33 #33152B #332C15 #15331D
square
#151C33 #33152B #332C15 #15331D
split-complementary
#151C33 #331D15 #2B3315
monochromatic
#090C16 #090C16 #151C33 #27345E #394C8A

Accessibility & contrast

On white

16.86
#151C33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#151C33 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151C33
16.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151C33#FFFFFF#000000##FFFFFF
##151C331.0016.861.2516.86
#FFFFFF16.861.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131E34
Deuteranopia (green-blind)
#101C32
Tritanopia (blue-blind)
#092125
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #151c33;
/* rgb */ color: rgb(21, 28, 51);
/* oklch */ color: oklch(23.2% 0.046 269.8);
Tailwind
colors: {
  custom: {
    50: '#54576b',
    500: '#151c33',
    950: '#000000',
  },
}
SCSS
$custom: #151c33;
$custom-light: #54576b;
$custom-dark: #000000;
JSON
{
  "hex": "#151c33",
  "rgb": {
    "r": 21,
    "g": 28,
    "b": 51
  },
  "hsl": {
    "h": 226,
    "s": 41.667,
    "l": 14.118
  },
  "oklch": {
    "l": 0.23249,
    "c": 0.04574,
    "h": 269.8
  },
  "luminance": 0.01229
}

Semantic roles & 50–950 ramp

primary
#151C33
secondary
#6A5F3A
accent
#B556D1
background
#F5F5F6
surface
#E8E9EB
border
#C4C5C6
text
#030306
muted
#78787A

Preview Lab

Preview with #151C33

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

Preview Lab → · Contrast checker → · Palette generator →

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