#152A53#152A53

#152A53 is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.3% C 0.079 H 262.2°. Best body text is #FFFFFF at 14.11:1 contrast (WCAG AA passes).

Color values

HEX#152A53
RGBrgb(21, 42, 83)
HSLhsl(220, 60%, 20%)
HSVhsv(220, 75%, 33%)
CMYKcmyk(74.7%, 49.4%, 0%, 67.5%)
CIE-LABlab(17.64, 7.51, -27.51)
CIE-LCHlch(17.64, 28.51, 285.27°)
OKLaboklab(29.25% -0.0107 -0.0787)
OKLCHoklch(29.25% 0.079 262.2)
XYZxyz(2.6980, 2.4396, 8.5106)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152A53 #533E15
analogous
#154953 #152A53 #1F1553
triadic
#152A53 #53152A #2A5315
tetradic
#152A53 #531549 #533E15 #15531F
square
#152A53 #531549 #533E15 #15531F
split-complementary
#152A53 #531F15 #495315
monochromatic
#060C18 #091122 #152A53 #214384 #2E5BB5

Accessibility & contrast

On white

14.11
#152A53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #152A53
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152A53#FFFFFF#000000##FFFFFF
##152A531.0014.111.4914.11
#FFFFFF14.111.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162E55
Deuteranopia (green-blind)
#0A2952
Tritanopia (blue-blind)
#00343A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #152a53;
/* rgb */ color: rgb(21, 42, 83);
/* oklch */ color: oklch(29.3% 0.079 262.2);
Tailwind
colors: {
  custom: {
    50: '#5b6384',
    500: '#152a53',
    950: '#000000',
  },
}
SCSS
$custom: #152a53;
$custom-light: #5b6384;
$custom-dark: #000000;
JSON
{
  "hex": "#152a53",
  "rgb": {
    "r": 21,
    "g": 42,
    "b": 83
  },
  "hsl": {
    "h": 219.677,
    "s": 59.615,
    "l": 20.392
  },
  "oklch": {
    "l": 0.2925,
    "c": 0.07943,
    "h": 262.2
  },
  "luminance": 0.0244
}

Semantic roles & 50–950 ramp

primary
#152A53
secondary
#8B6F39
accent
#AD45E3
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #152A53

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

Preview Lab → · Contrast checker → · Palette generator →

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