#151C3F#151C3F

#151C3F is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.2% C 0.067 H 272.0°. Best body text is #FFFFFF at 16.54:1 contrast (WCAG AA passes).

Color values

HEX#151C3F
RGBrgb(21, 28, 63)
HSLhsl(230, 50%, 16%)
HSVhsv(230, 67%, 25%)
CMYKcmyk(66.7%, 55.6%, 0%, 75.3%)
CIE-LABlab(11.61, 9.70, -23.42)
CIE-LCHlch(11.61, 25.35, 292.49°)
OKLaboklab(24.17% 0.0023 -0.0669)
OKLCHoklch(24.17% 0.067 272)
XYZxyz(1.6214, 1.3487, 4.8765)
Luminance0.0135 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151C3F #3F3815
analogous
#15313F #151C3F #23153F
triadic
#151C3F #3F151C #1C3F15
tetradic
#151C3F #3F1531 #3F3815 #153F23
square
#151C3F #3F1531 #3F3815 #153F23
split-complementary
#151C3F #3F2315 #313F15
monochromatic
#080A17 #080A17 #151C3F #24306D #34459B

Accessibility & contrast

On white

16.54
#151C3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#151C3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151C3F
16.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151C3F#FFFFFF#000000##FFFFFF
##151C3F1.0016.541.2716.54
#FFFFFF16.541.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A2140
Deuteranopia (green-blind)
#051D3E
Tritanopia (blue-blind)
#00242A
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #151c3f;
/* rgb */ color: rgb(21, 28, 63);
/* oklch */ color: oklch(24.2% 0.067 272.0);
Tailwind
colors: {
  custom: {
    50: '#575774',
    500: '#151c3f',
    950: '#000000',
  },
}
SCSS
$custom: #151c3f;
$custom-light: #575774;
$custom-dark: #000000;
JSON
{
  "hex": "#151c3f",
  "rgb": {
    "r": 21,
    "g": 28,
    "b": 63
  },
  "hsl": {
    "h": 230,
    "s": 50,
    "l": 16.471
  },
  "oklch": {
    "l": 0.24167,
    "c": 0.06695,
    "h": 272
  },
  "luminance": 0.01349
}

Semantic roles & 50–950 ramp

primary
#151C3F
secondary
#776C39
accent
#C24EDA
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030308
muted
#78787B

Preview Lab

Preview with #151C3F

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

Preview Lab → · Contrast checker → · Palette generator →

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