#151D5A#151D5A

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

Color values

HEX#151D5A
RGBrgb(21, 29, 90)
HSLhsl(233, 62%, 22%)
HSVhsv(233, 77%, 35%)
CMYKcmyk(76.7%, 67.8%, 0%, 64.7%)
CIE-LABlab(14.27, 20.07, -37.68)
CIE-LCHlch(14.27, 42.70, 298.05°)
OKLaboklab(26.89% 0.0023 -0.1088)
OKLCHoklch(26.89% 0.109 271.2)
XYZxyz(2.5935, 1.7761, 9.8770)
Luminance0.0178 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151D5A #5A5215
analogous
#15405A #151D5A #30155A
triadic
#151D5A #5A151D #1D5A15
tetradic
#151D5A #5A1540 #5A5215 #155A30
square
#151D5A #5A1540 #5A5215 #155A30
split-complementary
#151D5A #5A3015 #405A15
monochromatic
#060819 #090D28 #151D5A #212D8C #2C3DBD

Accessibility & contrast

On white

15.50
#151D5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #151D5A
15.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151D5A#FFFFFF#000000##FFFFFF
##151D5A1.0015.501.3615.50
#FFFFFF15.501.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #151d5a;
/* rgb */ color: rgb(21, 29, 90);
/* oklch */ color: oklch(26.9% 0.109 271.2);
Tailwind
colors: {
  custom: {
    50: '#5e5889',
    500: '#151d5a',
    950: '#000000',
  },
}
SCSS
$custom: #151d5a;
$custom-light: #5e5889;
$custom-dark: #000000;
JSON
{
  "hex": "#151d5a",
  "rgb": {
    "r": 21,
    "g": 29,
    "b": 90
  },
  "hsl": {
    "h": 233.043,
    "s": 62.162,
    "l": 21.765
  },
  "oklch": {
    "l": 0.26889,
    "c": 0.10884,
    "h": 271.2
  },
  "luminance": 0.01776
}

Semantic roles & 50–950 ramp

primary
#151D5A
secondary
#928739
accent
#D243E5
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #151D5A

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

Preview Lab → · Contrast checker → · Palette generator →

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