#152F59#152F59

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

Color values

HEX#152F59
RGBrgb(21, 47, 89)
HSLhsl(217, 62%, 22%)
HSVhsv(217, 76%, 35%)
CMYKcmyk(76.4%, 47.2%, 0%, 65.1%)
CIE-LABlab(19.69, 6.38, -28.23)
CIE-LCHlch(19.69, 28.94, 282.74°)
OKLaboklab(30.96% -0.0149 -0.0807)
OKLCHoklch(30.96% 0.082 259.6)
XYZxyz(3.1283, 2.9134, 9.8467)
Luminance0.0291 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152F59 #593F15
analogous
#155159 #152F59 #1D1559
triadic
#152F59 #59152F #2F5915
tetradic
#152F59 #591551 #593F15 #15591D
square
#152F59 #591551 #593F15 #15591D
split-complementary
#152F59 #591D15 #515915
monochromatic
#060D19 #091527 #152F59 #21498B #2C63BC

Accessibility & contrast

On white

13.27
#152F59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #152F59
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152F59#FFFFFF#000000##FFFFFF
##152F591.0013.271.5813.27
#FFFFFF13.271.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A335B
Deuteranopia (green-blind)
#0E2D58
Tritanopia (blue-blind)
#00393F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #152f59;
/* rgb */ color: rgb(21, 47, 89);
/* oklch */ color: oklch(31.0% 0.082 259.6);
Tailwind
colors: {
  custom: {
    50: '#5c6788',
    500: '#152f59',
    950: '#000000',
  },
}
SCSS
$custom: #152f59;
$custom-light: #5c6788;
$custom-dark: #000000;
JSON
{
  "hex": "#152f59",
  "rgb": {
    "r": 21,
    "g": 47,
    "b": 89
  },
  "hsl": {
    "h": 217.059,
    "s": 61.818,
    "l": 21.569
  },
  "oklch": {
    "l": 0.30965,
    "c": 0.0821,
    "h": 259.6
  },
  "luminance": 0.02914
}

Semantic roles & 50–950 ramp

primary
#152F59
secondary
#916F39
accent
#A743E5
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#04060B
muted
#797A7C

Preview Lab

Preview with #152F59

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

Preview Lab → · Contrast checker → · Palette generator →

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