#152E58#152E58

#152E58 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.6% C 0.082 H 260.1°. Best body text is #FFFFFF at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#152E58
RGBrgb(21, 46, 88)
HSLhsl(218, 61%, 21%)
HSVhsv(218, 76%, 35%)
CMYKcmyk(76.1%, 47.7%, 0%, 65.5%)
CIE-LABlab(19.30, 6.69, -28.20)
CIE-LCHlch(19.30, 28.98, 283.34°)
OKLaboklab(30.64% -0.014 -0.0807)
OKLCHoklch(30.64% 0.082 260.1)
XYZxyz(3.0471, 2.8177, 9.6139)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152E58 #583F15
analogous
#155058 #152E58 #1E1558
triadic
#152E58 #58152E #2E5815
tetradic
#152E58 #581550 #583F15 #15581E
square
#152E58 #581550 #583F15 #15581E
split-complementary
#152E58 #581E15 #505815
monochromatic
#060D19 #091427 #152E58 #214889 #2D62BB

Accessibility & contrast

On white

13.43
#152E58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#152E58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152E58
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152E58#FFFFFF#000000##FFFFFF
##152E581.0013.431.5613.43
#FFFFFF13.431.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19325A
Deuteranopia (green-blind)
#0D2C57
Tritanopia (blue-blind)
#00383E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #152e58;
/* rgb */ color: rgb(21, 46, 88);
/* oklch */ color: oklch(30.6% 0.082 260.1);
Tailwind
colors: {
  custom: {
    50: '#5c6687',
    500: '#152e58',
    950: '#000000',
  },
}
SCSS
$custom: #152e58;
$custom-light: #5c6687;
$custom-dark: #000000;
JSON
{
  "hex": "#152e58",
  "rgb": {
    "r": 21,
    "g": 46,
    "b": 88
  },
  "hsl": {
    "h": 217.612,
    "s": 61.468,
    "l": 21.373
  },
  "oklch": {
    "l": 0.30638,
    "c": 0.08187,
    "h": 260.1
  },
  "luminance": 0.02818
}

Semantic roles & 50–950 ramp

primary
#152E58
secondary
#906F39
accent
#A843E5
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04050B
muted
#797A7C

Preview Lab

Preview with #152E58

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

Preview Lab → · Contrast checker → · Palette generator →

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