#152B57#152B57

#152B57 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 29.8% C 0.084 H 262.5°. Best body text is #FFFFFF at 13.86:1 contrast (WCAG AA passes).

Color values

HEX#152B57
RGBrgb(21, 43, 87)
HSLhsl(220, 61%, 21%)
HSVhsv(220, 76%, 34%)
CMYKcmyk(75.9%, 50.6%, 0%, 65.9%)
CIE-LABlab(18.25, 8.46, -29.21)
CIE-LCHlch(18.25, 30.41, 286.16°)
OKLaboklab(29.81% -0.0111 -0.0837)
OKLCHoklch(29.81% 0.084 262.5)
XYZxyz(2.8928, 2.5750, 9.3595)
Luminance0.0257 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152B57 #574115
analogous
#154C57 #152B57 #201557
triadic
#152B57 #57152B #2B5715
tetradic
#152B57 #57154C #574115 #155720
square
#152B57 #57154C #574115 #155720
split-complementary
#152B57 #572015 #4C5715
monochromatic
#060C19 #091326 #152B57 #214388 #2D5CBA

Accessibility & contrast

On white

13.86
#152B57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #152B57
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152B57#FFFFFF#000000##FFFFFF
##152B571.0013.861.5213.86
#FFFFFF13.861.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143059
Deuteranopia (green-blind)
#062A56
Tritanopia (blue-blind)
#00353C
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #152b57;
/* rgb */ color: rgb(21, 43, 87);
/* oklch */ color: oklch(29.8% 0.084 262.5);
Tailwind
colors: {
  custom: {
    50: '#5c6387',
    500: '#152b57',
    950: '#000000',
  },
}
SCSS
$custom: #152b57;
$custom-light: #5c6387;
$custom-dark: #000000;
JSON
{
  "hex": "#152b57",
  "rgb": {
    "r": 21,
    "g": 43,
    "b": 87
  },
  "hsl": {
    "h": 220,
    "s": 61.111,
    "l": 21.176
  },
  "oklch": {
    "l": 0.29812,
    "c": 0.08441,
    "h": 262.5
  },
  "luminance": 0.02575
}

Semantic roles & 50–950 ramp

primary
#152B57
secondary
#8F7239
accent
#AF44E4
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #152B57

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

Preview Lab → · Contrast checker → · Palette generator →

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