#151C4D#151C4D

#151C4D is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.4% C 0.090 H 272.2°. Best body text is #FFFFFF at 16.09:1 contrast (WCAG AA passes).

Color values

HEX#151C4D
RGBrgb(21, 28, 77)
HSLhsl(233, 57%, 19%)
HSVhsv(233, 73%, 30%)
CMYKcmyk(72.7%, 63.6%, 0%, 69.8%)
CIE-LABlab(12.77, 15.48, -31.29)
CIE-LCHlch(12.77, 34.91, 296.32°)
OKLaboklab(25.41% 0.0034 -0.0901)
OKLCHoklch(25.41% 0.09 272.2)
XYZxyz(2.0636, 1.5256, 7.2055)
Luminance0.0153 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151C4D #4D4615
analogous
#15384D #151C4D #2A154D
triadic
#151C4D #4D151C #1C4D15
tetradic
#151C4D #4D1538 #4D4615 #154D2A
square
#151C4D #4D1538 #4D4615 #154D2A
split-complementary
#151C4D #4D2A15 #384D15
monochromatic
#070918 #080B1D #151C4D #222D7D #2F3FAD

Accessibility & contrast

On white

16.09
#151C4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#151C4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151C4D
16.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151C4D#FFFFFF#000000##FFFFFF
##151C4D1.0016.091.3116.09
#FFFFFF16.091.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00244F
Deuteranopia (green-blind)
#001F4C
Tritanopia (blue-blind)
#002831
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #151c4d;
/* rgb */ color: rgb(21, 28, 77);
/* oklch */ color: oklch(25.4% 0.090 272.2);
Tailwind
colors: {
  custom: {
    50: '#5a577f',
    500: '#151c4d',
    950: '#000000',
  },
}
SCSS
$custom: #151c4d;
$custom-light: #5a577f;
$custom-dark: #000000;
JSON
{
  "hex": "#151c4d",
  "rgb": {
    "r": 21,
    "g": 28,
    "b": 77
  },
  "hsl": {
    "h": 232.5,
    "s": 57.143,
    "l": 19.216
  },
  "oklch": {
    "l": 0.25405,
    "c": 0.09014,
    "h": 272.2
  },
  "luminance": 0.01526
}

Semantic roles & 50–950 ramp

primary
#151C4D
secondary
#857B39
accent
#CD47E0
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #151C4D

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

Preview Lab → · Contrast checker → · Palette generator →

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