#152A55#152A55

#152A55 is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.4% C 0.083 H 262.8°. Best body text is #FFFFFF at 14.05:1 contrast (WCAG AA passes).

Color values

HEX#152A55
RGBrgb(21, 42, 85)
HSLhsl(220, 60%, 21%)
HSVhsv(220, 75%, 33%)
CMYKcmyk(75.3%, 50.6%, 0%, 66.7%)
CIE-LABlab(17.79, 8.35, -28.62)
CIE-LCHlch(17.79, 29.81, 286.27°)
OKLaboklab(29.41% -0.0104 -0.082)
OKLCHoklch(29.41% 0.083 262.8)
XYZxyz(2.7763, 2.4710, 8.9232)
Luminance0.0247 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152A55 #554015
analogous
#154A55 #152A55 #201555
triadic
#152A55 #55152A #2A5515
tetradic
#152A55 #55154A #554015 #155520
square
#152A55 #55154A #554015 #155520
split-complementary
#152A55 #552015 #4A5515
monochromatic
#060C19 #091224 #152A55 #214286 #2D5AB7

Accessibility & contrast

On white

14.05
#152A55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#152A55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152A55
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152A55#FFFFFF#000000##FFFFFF
##152A551.0014.051.4914.05
#FFFFFF14.051.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142F57
Deuteranopia (green-blind)
#062954
Tritanopia (blue-blind)
#00343B
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #152a55;
/* rgb */ color: rgb(21, 42, 85);
/* oklch */ color: oklch(29.4% 0.083 262.8);
Tailwind
colors: {
  custom: {
    50: '#5b6385',
    500: '#152a55',
    950: '#000000',
  },
}
SCSS
$custom: #152a55;
$custom-light: #5b6385;
$custom-dark: #000000;
JSON
{
  "hex": "#152a55",
  "rgb": {
    "r": 21,
    "g": 42,
    "b": 85
  },
  "hsl": {
    "h": 220.313,
    "s": 60.377,
    "l": 20.784
  },
  "oklch": {
    "l": 0.29406,
    "c": 0.08262,
    "h": 262.8
  },
  "luminance": 0.02471
}

Semantic roles & 50–950 ramp

primary
#152A55
secondary
#8D7139
accent
#AF44E4
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #152A55

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

Preview Lab → · Contrast checker → · Palette generator →

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