#151E5A#151E5A

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

Color values

HEX#151E5A
RGBrgb(21, 30, 90)
HSLhsl(232, 62%, 22%)
HSVhsv(232, 77%, 35%)
CMYKcmyk(76.7%, 66.7%, 0%, 64.7%)
CIE-LABlab(14.55, 19.35, -37.22)
CIE-LCHlch(14.55, 41.95, 297.46°)
OKLaboklab(27.1% 0.0014 -0.1075)
OKLCHoklch(27.1% 0.107 270.8)
XYZxyz(2.6184, 1.8259, 9.8853)
Luminance0.0183 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151E5A #5A5115
analogous
#15415A #151E5A #2F155A
triadic
#151E5A #5A151E #1E5A15
tetradic
#151E5A #5A1541 #5A5115 #155A2F
square
#151E5A #5A1541 #5A5115 #155A2F
split-complementary
#151E5A #5A2F15 #415A15
monochromatic
#060819 #090D28 #151E5A #212F8C #2C3FBD

Accessibility & contrast

On white

15.38
#151E5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#151E5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151E5A
15.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151E5A#FFFFFF#000000##FFFFFF
##151E5A1.0015.381.3715.38
#FFFFFF15.381.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285C
Deuteranopia (green-blind)
#002259
Tritanopia (blue-blind)
#002D38
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #151e5a;
/* rgb */ color: rgb(21, 30, 90);
/* oklch */ color: oklch(27.1% 0.107 270.8);
Tailwind
colors: {
  custom: {
    50: '#5e5989',
    500: '#151e5a',
    950: '#000000',
  },
}
SCSS
$custom: #151e5a;
$custom-light: #5e5989;
$custom-dark: #000000;
JSON
{
  "hex": "#151e5a",
  "rgb": {
    "r": 21,
    "g": 30,
    "b": 90
  },
  "hsl": {
    "h": 232.174,
    "s": 62.162,
    "l": 21.765
  },
  "oklch": {
    "l": 0.27095,
    "c": 0.10748,
    "h": 270.8
  },
  "luminance": 0.01826
}

Semantic roles & 50–950 ramp

primary
#151E5A
secondary
#928639
accent
#D043E5
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #151E5A

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

Preview Lab → · Contrast checker → · Palette generator →

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