#152B58#152B58

#152B58 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 29.9% C 0.086 H 262.7°. Best body text is #FFFFFF at 13.83:1 contrast (WCAG AA passes).

Color values

HEX#152B58
RGBrgb(21, 43, 88)
HSLhsl(220, 61%, 21%)
HSVhsv(220, 76%, 35%)
CMYKcmyk(76.1%, 51.1%, 0%, 65.5%)
CIE-LABlab(18.33, 8.88, -29.76)
CIE-LCHlch(18.33, 31.05, 286.62°)
OKLaboklab(29.89% -0.0109 -0.0853)
OKLCHoklch(29.89% 0.086 262.7)
XYZxyz(2.9340, 2.5915, 9.5762)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152B58 #584215
analogous
#154D58 #152B58 #211558
triadic
#152B58 #58152B #2B5815
tetradic
#152B58 #58154D #584215 #155821
square
#152B58 #58154D #584215 #155821
split-complementary
#152B58 #582115 #4D5815
monochromatic
#060C19 #091327 #152B58 #214389 #2D5BBB

Accessibility & contrast

On white

13.83
#152B58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #152B58
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152B58#FFFFFF#000000##FFFFFF
##152B581.0013.831.5213.83
#FFFFFF13.831.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13305A
Deuteranopia (green-blind)
#042A57
Tritanopia (blue-blind)
#00363D
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #152b58;
/* rgb */ color: rgb(21, 43, 88);
/* oklch */ color: oklch(29.9% 0.086 262.7);
Tailwind
colors: {
  custom: {
    50: '#5c6387',
    500: '#152b58',
    950: '#000000',
  },
}
SCSS
$custom: #152b58;
$custom-light: #5c6387;
$custom-dark: #000000;
JSON
{
  "hex": "#152b58",
  "rgb": {
    "r": 21,
    "g": 43,
    "b": 88
  },
  "hsl": {
    "h": 220.299,
    "s": 61.468,
    "l": 21.373
  },
  "oklch": {
    "l": 0.29891,
    "c": 0.08599,
    "h": 262.7
  },
  "luminance": 0.02592
}

Semantic roles & 50–950 ramp

primary
#152B58
secondary
#907339
accent
#B043E5
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #152B58

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

Preview Lab → · Contrast checker → · Palette generator →

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