#151C5D#151C5D

#151C5D is a dark, moderate blue. Relative luminance 0.018; OKLCH L 27.0% C 0.115 H 271.4°. Best body text is #FFFFFF at 15.49:1 contrast (WCAG AA passes).

Color values

HEX#151C5D
RGBrgb(21, 28, 93)
HSLhsl(234, 63%, 22%)
HSVhsv(234, 77%, 36%)
CMYKcmyk(77.4%, 69.9%, 0%, 63.5%)
CIE-LABlab(14.29, 22.00, -39.66)
CIE-LCHlch(14.29, 45.35, 299.03°)
OKLaboklab(27% 0.0028 -0.1146)
OKLCHoklch(27% 0.115 271.4)
XYZxyz(2.6996, 1.7800, 10.5551)
Luminance0.0178 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151C5D #5D5615
analogous
#15405D #151C5D #32155D
triadic
#151C5D #5D151C #1C5D15
tetradic
#151C5D #5D1540 #5D5615 #155D32
square
#151C5D #5D1540 #5D5615 #155D32
split-complementary
#151C5D #5D3215 #405D15
monochromatic
#060819 #0A0D2B #151C5D #202B8F #2C3AC1

Accessibility & contrast

On white

15.49
#151C5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#151C5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151C5D
15.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151C5D#FFFFFF#000000##FFFFFF
##151C5D1.0015.491.3615.49
#FFFFFF15.491.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285F
Deuteranopia (green-blind)
#00215C
Tritanopia (blue-blind)
#002D39
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #151c5d;
/* rgb */ color: rgb(21, 28, 93);
/* oklch */ color: oklch(27.0% 0.115 271.4);
Tailwind
colors: {
  custom: {
    50: '#5f588c',
    500: '#151c5d',
    950: '#000000',
  },
}
SCSS
$custom: #151c5d;
$custom-light: #5f588c;
$custom-dark: #000000;
JSON
{
  "hex": "#151c5d",
  "rgb": {
    "r": 21,
    "g": 28,
    "b": 93
  },
  "hsl": {
    "h": 234.167,
    "s": 63.158,
    "l": 22.353
  },
  "oklch": {
    "l": 0.26996,
    "c": 0.11464,
    "h": 271.4
  },
  "luminance": 0.0178
}

Semantic roles & 50–950 ramp

primary
#151C5D
secondary
#948C39
accent
#D642E6
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #151C5D

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

Preview Lab → · Contrast checker → · Palette generator →

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