#152E59#152E59

#152E59 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.7% C 0.083 H 260.5°. Best body text is #FFFFFF at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#152E59
RGBrgb(21, 46, 89)
HSLhsl(218, 62%, 22%)
HSVhsv(218, 76%, 35%)
CMYKcmyk(76.4%, 48.3%, 0%, 65.1%)
CIE-LABlab(19.37, 7.11, -28.75)
CIE-LCHlch(19.37, 29.62, 283.89°)
OKLaboklab(30.71% -0.0138 -0.0823)
OKLCHoklch(30.71% 0.083 260.5)
XYZxyz(3.0888, 2.8344, 9.8336)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152E59 #594015
analogous
#155059 #152E59 #1E1559
triadic
#152E59 #59152E #2E5915
tetradic
#152E59 #591550 #594015 #15591E
square
#152E59 #591550 #594015 #15591E
split-complementary
#152E59 #591E15 #505915
monochromatic
#060D19 #091427 #152E59 #21488B #2C61BC

Accessibility & contrast

On white

13.40
#152E59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#152E59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152E59
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152E59#FFFFFF#000000##FFFFFF
##152E591.0013.401.5713.40
#FFFFFF13.401.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19325B
Deuteranopia (green-blind)
#0B2C58
Tritanopia (blue-blind)
#00383F
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #152e59;
/* rgb */ color: rgb(21, 46, 89);
/* oklch */ color: oklch(30.7% 0.083 260.5);
Tailwind
colors: {
  custom: {
    50: '#5c6688',
    500: '#152e59',
    950: '#000000',
  },
}
SCSS
$custom: #152e59;
$custom-light: #5c6688;
$custom-dark: #000000;
JSON
{
  "hex": "#152e59",
  "rgb": {
    "r": 21,
    "g": 46,
    "b": 89
  },
  "hsl": {
    "h": 217.941,
    "s": 61.818,
    "l": 21.569
  },
  "oklch": {
    "l": 0.30714,
    "c": 0.08344,
    "h": 260.5
  },
  "luminance": 0.02835
}

Semantic roles & 50–950 ramp

primary
#152E59
secondary
#917039
accent
#A943E5
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#04050B
muted
#797A7C

Preview Lab

Preview with #152E59

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

Preview Lab → · Contrast checker → · Palette generator →

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