#152B59#152B59

#152B59 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.0% C 0.088 H 263.0°. Best body text is #FFFFFF at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#152B59
RGBrgb(21, 43, 89)
HSLhsl(221, 62%, 22%)
HSVhsv(221, 76%, 35%)
CMYKcmyk(76.4%, 51.7%, 0%, 65.1%)
CIE-LABlab(18.40, 9.31, -30.31)
CIE-LCHlch(18.40, 31.70, 287.07°)
OKLaboklab(29.97% -0.0107 -0.0869)
OKLCHoklch(29.97% 0.088 263)
XYZxyz(2.9757, 2.6081, 9.7959)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152B59 #594315
analogous
#154D59 #152B59 #211559
triadic
#152B59 #59152B #2B5915
tetradic
#152B59 #59154D #594315 #155921
square
#152B59 #59154D #594315 #155921
split-complementary
#152B59 #592115 #4D5915
monochromatic
#060C19 #091327 #152B59 #21438B #2C5BBC

Accessibility & contrast

On white

13.80
#152B59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#152B59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152B59
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152B59#FFFFFF#000000##FFFFFF
##152B591.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12305B
Deuteranopia (green-blind)
#032A58
Tritanopia (blue-blind)
#00363D
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #152b59;
/* rgb */ color: rgb(21, 43, 89);
/* oklch */ color: oklch(30.0% 0.088 263.0);
Tailwind
colors: {
  custom: {
    50: '#5c6388',
    500: '#152b59',
    950: '#000000',
  },
}
SCSS
$custom: #152b59;
$custom-light: #5c6388;
$custom-dark: #000000;
JSON
{
  "hex": "#152b59",
  "rgb": {
    "r": 21,
    "g": 43,
    "b": 89
  },
  "hsl": {
    "h": 220.588,
    "s": 61.818,
    "l": 21.569
  },
  "oklch": {
    "l": 0.29971,
    "c": 0.08757,
    "h": 263
  },
  "luminance": 0.02608
}

Semantic roles & 50–950 ramp

primary
#152B59
secondary
#917439
accent
#B043E5
background
#F5F5F8
surface
#E9EAF0
border
#C5C6CB
text
#05050B
muted
#79797C

Preview Lab

Preview with #152B59

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

Preview Lab → · Contrast checker → · Palette generator →

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