#151C3B#151C3B

#151C3B is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 23.8% C 0.060 H 271.6°. Best body text is #FFFFFF at 16.65:1 contrast (WCAG AA passes).

Color values

HEX#151C3B
RGBrgb(21, 28, 59)
HSLhsl(229, 48%, 16%)
HSVhsv(229, 64%, 23%)
CMYKcmyk(64.4%, 52.5%, 0%, 76.9%)
CIE-LABlab(11.31, 8.06, -21.06)
CIE-LCHlch(11.31, 22.55, 290.94°)
OKLaboklab(23.85% 0.0017 -0.06)
OKLCHoklch(23.85% 0.06 271.6)
XYZxyz(1.5137, 1.3056, 4.3091)
Luminance0.0131 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151C3B #3B3415
analogous
#152F3B #151C3B #21153B
triadic
#151C3B #3B151C #1C3B15
tetradic
#151C3B #3B152F #3B3415 #153B21
square
#151C3B #3B152F #3B3415 #153B21
split-complementary
#151C3B #3B2115 #2F3B15
monochromatic
#080B17 #080B17 #151C3B #253168 #354795

Accessibility & contrast

On white

16.65
#151C3B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #151C3B
16.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151C3B#FFFFFF#000000##FFFFFF
##151C3B1.0016.651.2616.65
#FFFFFF16.651.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E203C
Deuteranopia (green-blind)
#091D3A
Tritanopia (blue-blind)
#022328
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #151c3b;
/* rgb */ color: rgb(21, 28, 59);
/* oklch */ color: oklch(23.8% 0.060 271.6);
Tailwind
colors: {
  custom: {
    50: '#565771',
    500: '#151c3b',
    950: '#000000',
  },
}
SCSS
$custom: #151c3b;
$custom-light: #565771;
$custom-dark: #000000;
JSON
{
  "hex": "#151c3b",
  "rgb": {
    "r": 21,
    "g": 28,
    "b": 59
  },
  "hsl": {
    "h": 228.947,
    "s": 47.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.23845,
    "c": 0.06001,
    "h": 271.6
  },
  "luminance": 0.01306
}

Semantic roles & 50–950 ramp

primary
#151C3B
secondary
#726839
accent
#BE51D7
background
#F5F5F6
surface
#E9E9EC
border
#C5C5C7
text
#030307
muted
#78787A

Preview Lab

Preview with #151C3B

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

Preview Lab → · Contrast checker → · Palette generator →

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