#152D58#152D58

#152D58 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.4% C 0.083 H 261.0°. Best body text is #FFFFFF at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#152D58
RGBrgb(21, 45, 88)
HSLhsl(219, 61%, 21%)
HSVhsv(219, 76%, 35%)
CMYKcmyk(76.1%, 48.9%, 0%, 65.5%)
CIE-LABlab(18.97, 7.42, -28.72)
CIE-LCHlch(18.97, 29.66, 284.48°)
OKLaboklab(30.39% -0.013 -0.0822)
OKLCHoklch(30.39% 0.083 261)
XYZxyz(3.0085, 2.7405, 9.6010)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152D58 #584015
analogous
#154F58 #152D58 #1F1558
triadic
#152D58 #58152D #2D5815
tetradic
#152D58 #58154F #584015 #15581F
square
#152D58 #58154F #584015 #15581F
split-complementary
#152D58 #581F15 #4F5815
monochromatic
#060D19 #091427 #152D58 #214689 #2D60BB

Accessibility & contrast

On white

13.56
#152D58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #152D58
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152D58#FFFFFF#000000##FFFFFF
##152D581.0013.561.5513.56
#FFFFFF13.561.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17315A
Deuteranopia (green-blind)
#0A2B57
Tritanopia (blue-blind)
#00373E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #152d58;
/* rgb */ color: rgb(21, 45, 88);
/* oklch */ color: oklch(30.4% 0.083 261.0);
Tailwind
colors: {
  custom: {
    50: '#5c6587',
    500: '#152d58',
    950: '#000000',
  },
}
SCSS
$custom: #152d58;
$custom-light: #5c6587;
$custom-dark: #000000;
JSON
{
  "hex": "#152d58",
  "rgb": {
    "r": 21,
    "g": 45,
    "b": 88
  },
  "hsl": {
    "h": 218.507,
    "s": 61.468,
    "l": 21.373
  },
  "oklch": {
    "l": 0.30387,
    "c": 0.08323,
    "h": 261
  },
  "luminance": 0.02741
}

Semantic roles & 50–950 ramp

primary
#152D58
secondary
#907139
accent
#AB43E5
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04050B
muted
#797A7C

Preview Lab

Preview with #152D58

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

Preview Lab → · Contrast checker → · Palette generator →

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