#151C5B#151C5B

#151C5B is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.8% C 0.112 H 271.5°. Best body text is #FFFFFF at 15.57:1 contrast (WCAG AA passes).

Color values

HEX#151C5B
RGBrgb(21, 28, 91)
HSLhsl(234, 63%, 22%)
HSVhsv(234, 77%, 36%)
CMYKcmyk(76.9%, 69.2%, 0%, 64.3%)
CIE-LABlab(14.09, 21.20, -38.64)
CIE-LCHlch(14.09, 44.08, 298.75°)
OKLaboklab(26.79% 0.003 -0.1116)
OKLCHoklch(26.79% 0.112 271.5)
XYZxyz(2.6122, 1.7450, 10.0947)
Luminance0.0175 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151C5B #5B5415
analogous
#153F5B #151C5B #31155B
triadic
#151C5B #5B151C #1C5B15
tetradic
#151C5B #5B153F #5B5415 #155B31
square
#151C5B #5B153F #5B5415 #155B31
split-complementary
#151C5B #5B3115 #3F5B15
monochromatic
#060819 #0A0D29 #151C5B #202B8D #2C3BBE

Accessibility & contrast

On white

15.57
#151C5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #151C5B
15.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151C5B#FFFFFF#000000##FFFFFF
##151C5B1.0015.571.3515.57
#FFFFFF15.571.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275D
Deuteranopia (green-blind)
#00215A
Tritanopia (blue-blind)
#002C38
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #151c5b;
/* rgb */ color: rgb(21, 28, 91);
/* oklch */ color: oklch(26.8% 0.112 271.5);
Tailwind
colors: {
  custom: {
    50: '#5e588a',
    500: '#151c5b',
    950: '#000000',
  },
}
SCSS
$custom: #151c5b;
$custom-light: #5e588a;
$custom-dark: #000000;
JSON
{
  "hex": "#151c5b",
  "rgb": {
    "r": 21,
    "g": 28,
    "b": 91
  },
  "hsl": {
    "h": 234,
    "s": 62.5,
    "l": 21.961
  },
  "oklch": {
    "l": 0.26789,
    "c": 0.11169,
    "h": 271.5
  },
  "luminance": 0.01745
}

Semantic roles & 50–950 ramp

primary
#151C5B
secondary
#928A39
accent
#D542E6
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #151C5B

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

Preview Lab → · Contrast checker → · Palette generator →

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