#151C5E#151C5E

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

Color values

HEX#151C5E
RGBrgb(21, 28, 94)
HSLhsl(234, 63%, 23%)
HSVhsv(234, 78%, 37%)
CMYKcmyk(77.7%, 70.2%, 0%, 63.1%)
CIE-LABlab(14.39, 22.41, -40.16)
CIE-LCHlch(14.39, 45.99, 299.16°)
OKLaboklab(27.1% 0.0028 -0.1161)
OKLCHoklch(27.1% 0.116 271.4)
XYZxyz(2.7442, 1.7978, 10.7899)
Luminance0.0180 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151C5E #5E5715
analogous
#15405E #151C5E #33155E
triadic
#151C5E #5E151C #1C5E15
tetradic
#151C5E #5E1540 #5E5715 #155E33
square
#151C5E #5E1540 #5E5715 #155E33
split-complementary
#151C5E #5E3315 #405E15
monochromatic
#060719 #0A0D2C #151C5E #202B90 #2B3AC2

Accessibility & contrast

On white

15.45
#151C5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #151C5E
15.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151C5E#FFFFFF#000000##FFFFFF
##151C5E1.0015.451.3615.45
#FFFFFF15.451.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002860
Deuteranopia (green-blind)
#00215D
Tritanopia (blue-blind)
#002D3A
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #151c5e;
/* rgb */ color: rgb(21, 28, 94);
/* oklch */ color: oklch(27.1% 0.116 271.4);
Tailwind
colors: {
  custom: {
    50: '#5f588c',
    500: '#151c5e',
    950: '#000000',
  },
}
SCSS
$custom: #151c5e;
$custom-light: #5f588c;
$custom-dark: #000000;
JSON
{
  "hex": "#151c5e",
  "rgb": {
    "r": 21,
    "g": 28,
    "b": 94
  },
  "hsl": {
    "h": 234.247,
    "s": 63.478,
    "l": 22.549
  },
  "oklch": {
    "l": 0.27101,
    "c": 0.11611,
    "h": 271.4
  },
  "luminance": 0.01798
}

Semantic roles & 50–950 ramp

primary
#151C5E
secondary
#958D39
accent
#D741E7
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #151C5E

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

Preview Lab → · Contrast checker → · Palette generator →

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