#152D5B#152D5B

#152D5B is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.6% C 0.088 H 261.9°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#152D5B
RGBrgb(21, 45, 91)
HSLhsl(219, 63%, 22%)
HSVhsv(219, 77%, 36%)
CMYKcmyk(76.9%, 50.5%, 0%, 64.3%)
CIE-LABlab(19.19, 8.69, -30.37)
CIE-LCHlch(19.19, 31.59, 285.96°)
OKLaboklab(30.62% -0.0124 -0.0871)
OKLCHoklch(30.62% 0.088 261.9)
XYZxyz(3.1353, 2.7912, 10.2690)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152D5B #5B4315
analogous
#15505B #152D5B #20155B
triadic
#152D5B #5B152D #2D5B15
tetradic
#152D5B #5B1550 #5B4315 #155B20
square
#152D5B #5B1550 #5B4315 #155B20
split-complementary
#152D5B #5B2015 #505B15
monochromatic
#060C19 #0A1429 #152D5B #20468D #2C5EBE

Accessibility & contrast

On white

13.48
#152D5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#152D5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152D5B
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152D5B#FFFFFF#000000##FFFFFF
##152D5B1.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15325D
Deuteranopia (green-blind)
#052C5A
Tritanopia (blue-blind)
#00383F
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #152d5b;
/* rgb */ color: rgb(21, 45, 91);
/* oklch */ color: oklch(30.6% 0.088 261.9);
Tailwind
colors: {
  custom: {
    50: '#5d658a',
    500: '#152d5b',
    950: '#000000',
  },
}
SCSS
$custom: #152d5b;
$custom-light: #5d658a;
$custom-dark: #000000;
JSON
{
  "hex": "#152d5b",
  "rgb": {
    "r": 21,
    "g": 45,
    "b": 91
  },
  "hsl": {
    "h": 219.429,
    "s": 62.5,
    "l": 21.961
  },
  "oklch": {
    "l": 0.30621,
    "c": 0.08794,
    "h": 261.9
  },
  "luminance": 0.02792
}

Semantic roles & 50–950 ramp

primary
#152D5B
secondary
#927439
accent
#AE42E6
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05050B
muted
#797A7C

Preview Lab

Preview with #152D5B

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

Preview Lab → · Contrast checker → · Palette generator →

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