#151C5A#151C5A

#151C5A is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.7% C 0.110 H 271.6°. Best body text is #FFFFFF at 15.61:1 contrast (WCAG AA passes).

Color values

HEX#151C5A
RGBrgb(21, 28, 90)
HSLhsl(234, 62%, 22%)
HSVhsv(234, 77%, 35%)
CMYKcmyk(76.7%, 68.9%, 0%, 64.7%)
CIE-LABlab(13.99, 20.80, -38.13)
CIE-LCHlch(13.99, 43.44, 298.61°)
OKLaboklab(26.69% 0.0031 -0.1102)
OKLCHoklch(26.69% 0.11 271.6)
XYZxyz(2.5694, 1.7279, 9.8690)
Luminance0.0173 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151C5A #5A5315
analogous
#153F5A #151C5A #31155A
triadic
#151C5A #5A151C #1C5A15
tetradic
#151C5A #5A153F #5A5315 #155A31
square
#151C5A #5A153F #5A5315 #155A31
split-complementary
#151C5A #5A3115 #3F5A15
monochromatic
#060819 #090D28 #151C5A #212B8C #2C3BBD

Accessibility & contrast

On white

15.61
#151C5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #151C5A
15.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151C5A#FFFFFF#000000##FFFFFF
##151C5A1.0015.611.3515.61
#FFFFFF15.611.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275C
Deuteranopia (green-blind)
#002059
Tritanopia (blue-blind)
#002C38
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #151c5a;
/* rgb */ color: rgb(21, 28, 90);
/* oklch */ color: oklch(26.7% 0.110 271.6);
Tailwind
colors: {
  custom: {
    50: '#5e5889',
    500: '#151c5a',
    950: '#000000',
  },
}
SCSS
$custom: #151c5a;
$custom-light: #5e5889;
$custom-dark: #000000;
JSON
{
  "hex": "#151c5a",
  "rgb": {
    "r": 21,
    "g": 28,
    "b": 90
  },
  "hsl": {
    "h": 233.913,
    "s": 62.162,
    "l": 21.765
  },
  "oklch": {
    "l": 0.26686,
    "c": 0.1102,
    "h": 271.6
  },
  "luminance": 0.01728
}

Semantic roles & 50–950 ramp

primary
#151C5A
secondary
#928939
accent
#D543E5
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #151C5A

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

Preview Lab → · Contrast checker → · Palette generator →

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