#152D60#152D60

#152D60 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.0% C 0.096 H 263.1°. Best body text is #FFFFFF at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#152D60
RGBrgb(21, 45, 96)
HSLhsl(221, 64%, 23%)
HSVhsv(221, 78%, 38%)
CMYKcmyk(78.1%, 53.1%, 0%, 62.4%)
CIE-LABlab(19.56, 10.80, -33.07)
CIE-LCHlch(19.56, 34.79, 288.08°)
OKLaboklab(31.02% -0.0116 -0.095)
OKLCHoklch(31.02% 0.096 263.1)
XYZxyz(3.3582, 2.8804, 11.4430)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152D60 #604815
analogous
#155260 #152D60 #221560
triadic
#152D60 #60152D #2D6015
tetradic
#152D60 #601552 #604815 #156022
square
#152D60 #601552 #604815 #156022
split-complementary
#152D60 #602215 #526015
monochromatic
#050C19 #0A152E #152D60 #204592 #2B5CC4

Accessibility & contrast

On white

13.32
#152D60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#152D60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152D60
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152D60#FFFFFF#000000##FFFFFF
##152D601.0013.321.5813.32
#FFFFFF13.321.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F3362
Deuteranopia (green-blind)
#002C5F
Tritanopia (blue-blind)
#003942
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #152d60;
/* rgb */ color: rgb(21, 45, 96);
/* oklch */ color: oklch(31.0% 0.096 263.1);
Tailwind
colors: {
  custom: {
    50: '#5e658d',
    500: '#152d60',
    950: '#000000',
  },
}
SCSS
$custom: #152d60;
$custom-light: #5e658d;
$custom-dark: #000000;
JSON
{
  "hex": "#152d60",
  "rgb": {
    "r": 21,
    "g": 45,
    "b": 96
  },
  "hsl": {
    "h": 220.8,
    "s": 64.103,
    "l": 22.941
  },
  "oklch": {
    "l": 0.31024,
    "c": 0.09573,
    "h": 263.1
  },
  "luminance": 0.02881
}

Semantic roles & 50–950 ramp

primary
#152D60
secondary
#97793A
accent
#B241E7
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05050C
muted
#797A7D

Preview Lab

Preview with #152D60

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

Preview Lab → · Contrast checker → · Palette generator →

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