#151D5B#151D5B

#151D5B is a dark, moderate blue. Relative luminance 0.018; OKLCH L 27.0% C 0.110 H 271.1°. Best body text is #FFFFFF at 15.46:1 contrast (WCAG AA passes).

Color values

HEX#151D5B
RGBrgb(21, 29, 91)
HSLhsl(233, 63%, 22%)
HSVhsv(233, 77%, 36%)
CMYKcmyk(76.9%, 68.1%, 0%, 64.3%)
CIE-LABlab(14.36, 20.48, -38.19)
CIE-LCHlch(14.36, 43.34, 298.20°)
OKLaboklab(26.99% 0.0022 -0.1103)
OKLCHoklch(26.99% 0.11 271.1)
XYZxyz(2.6363, 1.7932, 10.1027)
Luminance0.0179 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151D5B #5B5315
analogous
#15405B #151D5B #30155B
triadic
#151D5B #5B151D #1D5B15
tetradic
#151D5B #5B1540 #5B5315 #155B30
square
#151D5B #5B1540 #5B5315 #155B30
split-complementary
#151D5B #5B3015 #405B15
monochromatic
#060819 #0A0D29 #151D5B #202D8D #2C3DBE

Accessibility & contrast

On white

15.46
#151D5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #151D5B
15.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151D5B#FFFFFF#000000##FFFFFF
##151D5B1.0015.461.3615.46
#FFFFFF15.461.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #151d5b;
/* rgb */ color: rgb(21, 29, 91);
/* oklch */ color: oklch(27.0% 0.110 271.1);
Tailwind
colors: {
  custom: {
    50: '#5e588a',
    500: '#151d5b',
    950: '#000000',
  },
}
SCSS
$custom: #151d5b;
$custom-light: #5e588a;
$custom-dark: #000000;
JSON
{
  "hex": "#151d5b",
  "rgb": {
    "r": 21,
    "g": 29,
    "b": 91
  },
  "hsl": {
    "h": 233.143,
    "s": 62.5,
    "l": 21.961
  },
  "oklch": {
    "l": 0.2699,
    "c": 0.11034,
    "h": 271.1
  },
  "luminance": 0.01793
}

Semantic roles & 50–950 ramp

primary
#151D5B
secondary
#928839
accent
#D342E6
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #151D5B

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

Preview Lab → · Contrast checker → · Palette generator →

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