#151C5C#151C5C

#151C5C is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.9% C 0.113 H 271.5°. Best body text is #FFFFFF at 15.53:1 contrast (WCAG AA passes).

Color values

HEX#151C5C
RGBrgb(21, 28, 92)
HSLhsl(234, 63%, 22%)
HSVhsv(234, 77%, 36%)
CMYKcmyk(77.2%, 69.6%, 0%, 63.9%)
CIE-LABlab(14.19, 21.60, -39.15)
CIE-LCHlch(14.19, 44.71, 298.89°)
OKLaboklab(26.89% 0.0029 -0.1131)
OKLCHoklch(26.89% 0.113 271.5)
XYZxyz(2.6556, 1.7624, 10.3234)
Luminance0.0176 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151C5C #5C5515
analogous
#153F5C #151C5C #32155C
triadic
#151C5C #5C151C #1C5C15
tetradic
#151C5C #5C153F #5C5515 #155C32
square
#151C5C #5C153F #5C5515 #155C32
split-complementary
#151C5C #5C3215 #3F5C15
monochromatic
#060819 #0A0D2A #151C5C #202B8E #2C3AC0

Accessibility & contrast

On white

15.53
#151C5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#151C5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151C5C
15.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151C5C#FFFFFF#000000##FFFFFF
##151C5C1.0015.531.3515.53
#FFFFFF15.531.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275E
Deuteranopia (green-blind)
#00215B
Tritanopia (blue-blind)
#002D39
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #151c5c;
/* rgb */ color: rgb(21, 28, 92);
/* oklch */ color: oklch(26.9% 0.113 271.5);
Tailwind
colors: {
  custom: {
    50: '#5f588b',
    500: '#151c5c',
    950: '#000000',
  },
}
SCSS
$custom: #151c5c;
$custom-light: #5f588b;
$custom-dark: #000000;
JSON
{
  "hex": "#151c5c",
  "rgb": {
    "r": 21,
    "g": 28,
    "b": 92
  },
  "hsl": {
    "h": 234.085,
    "s": 62.832,
    "l": 22.157
  },
  "oklch": {
    "l": 0.26892,
    "c": 0.11317,
    "h": 271.5
  },
  "luminance": 0.01763
}

Semantic roles & 50–950 ramp

primary
#151C5C
secondary
#938B39
accent
#D642E6
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #151C5C

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

Preview Lab → · Contrast checker → · Palette generator →

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