#152A58#152A58

#152A58 is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.6% C 0.087 H 263.5°. Best body text is #FFFFFF at 13.96:1 contrast (WCAG AA passes).

Color values

HEX#152A58
RGBrgb(21, 42, 88)
HSLhsl(221, 61%, 21%)
HSVhsv(221, 76%, 35%)
CMYKcmyk(76.1%, 52.3%, 0%, 65.5%)
CIE-LABlab(18.01, 9.62, -30.27)
CIE-LCHlch(18.01, 31.76, 287.63°)
OKLaboklab(29.65% -0.0098 -0.0868)
OKLCHoklch(29.65% 0.087 263.5)
XYZxyz(2.8981, 2.5196, 9.5642)
Luminance0.0252 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152A58 #584315
analogous
#154C58 #152A58 #221558
triadic
#152A58 #58152A #2A5815
tetradic
#152A58 #58154C #584315 #155822
square
#152A58 #58154C #584315 #155822
split-complementary
#152A58 #582215 #4C5815
monochromatic
#060C19 #091227 #152A58 #214289 #2D59BB

Accessibility & contrast

On white

13.96
#152A58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#152A58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152A58
13.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152A58#FFFFFF#000000##FFFFFF
##152A581.0013.961.5013.96
#FFFFFF13.961.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#112F5A
Deuteranopia (green-blind)
#012957
Tritanopia (blue-blind)
#00353C
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #152a58;
/* rgb */ color: rgb(21, 42, 88);
/* oklch */ color: oklch(29.6% 0.087 263.5);
Tailwind
colors: {
  custom: {
    50: '#5c6387',
    500: '#152a58',
    950: '#000000',
  },
}
SCSS
$custom: #152a58;
$custom-light: #5c6387;
$custom-dark: #000000;
JSON
{
  "hex": "#152a58",
  "rgb": {
    "r": 21,
    "g": 42,
    "b": 88
  },
  "hsl": {
    "h": 221.194,
    "s": 61.468,
    "l": 21.373
  },
  "oklch": {
    "l": 0.29646,
    "c": 0.0874,
    "h": 263.5
  },
  "luminance": 0.0252
}

Semantic roles & 50–950 ramp

primary
#152A58
secondary
#907539
accent
#B243E5
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #152A58

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

Preview Lab → · Contrast checker → · Palette generator →

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