#152D59#152D59

#152D59 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.5% C 0.085 H 261.3°. Best body text is #FFFFFF at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#152D59
RGBrgb(21, 45, 89)
HSLhsl(219, 62%, 22%)
HSVhsv(219, 76%, 35%)
CMYKcmyk(76.4%, 49.4%, 0%, 65.1%)
CIE-LABlab(19.04, 7.84, -29.27)
CIE-LCHlch(19.04, 30.30, 285.00°)
OKLaboklab(30.46% -0.0128 -0.0838)
OKLCHoklch(30.46% 0.085 261.3)
XYZxyz(3.0502, 2.7571, 9.8207)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152D59 #594115
analogous
#154F59 #152D59 #1F1559
triadic
#152D59 #59152D #2D5915
tetradic
#152D59 #59154F #594115 #15591F
square
#152D59 #59154F #594115 #15591F
split-complementary
#152D59 #591F15 #4F5915
monochromatic
#060D19 #091427 #152D59 #21468B #2C5FBC

Accessibility & contrast

On white

13.54
#152D59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#152D59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152D59
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152D59#FFFFFF#000000##FFFFFF
##152D591.0013.541.5513.54
#FFFFFF13.541.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17325B
Deuteranopia (green-blind)
#082B58
Tritanopia (blue-blind)
#00373E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #152d59;
/* rgb */ color: rgb(21, 45, 89);
/* oklch */ color: oklch(30.5% 0.085 261.3);
Tailwind
colors: {
  custom: {
    50: '#5c6588',
    500: '#152d59',
    950: '#000000',
  },
}
SCSS
$custom: #152d59;
$custom-light: #5c6588;
$custom-dark: #000000;
JSON
{
  "hex": "#152d59",
  "rgb": {
    "r": 21,
    "g": 45,
    "b": 89
  },
  "hsl": {
    "h": 218.824,
    "s": 61.818,
    "l": 21.569
  },
  "oklch": {
    "l": 0.30464,
    "c": 0.08481,
    "h": 261.3
  },
  "luminance": 0.02757
}

Semantic roles & 50–950 ramp

primary
#152D59
secondary
#917239
accent
#AC43E5
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#04050B
muted
#797A7C

Preview Lab

Preview with #152D59

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

Preview Lab → · Contrast checker → · Palette generator →

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