#152B53#152B53

#152B53 is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.5% C 0.078 H 261.3°. Best body text is #FFFFFF at 13.98:1 contrast (WCAG AA passes).

Color values

HEX#152B53
RGBrgb(21, 43, 83)
HSLhsl(219, 60%, 20%)
HSVhsv(219, 75%, 33%)
CMYKcmyk(74.7%, 48.2%, 0%, 67.5%)
CIE-LABlab(17.97, 6.77, -26.98)
CIE-LCHlch(17.97, 27.82, 284.09°)
OKLaboklab(29.5% -0.0118 -0.0771)
OKLCHoklch(29.5% 0.078 261.3)
XYZxyz(2.7339, 2.5114, 8.5226)
Luminance0.0251 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152B53 #533D15
analogous
#154A53 #152B53 #1E1553
triadic
#152B53 #53152B #2B5315
tetradic
#152B53 #53154A #533D15 #15531E
square
#152B53 #53154A #533D15 #15531E
split-complementary
#152B53 #531E15 #4A5315
monochromatic
#060D18 #091222 #152B53 #214484 #2E5EB5

Accessibility & contrast

On white

13.98
#152B53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #152B53
13.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152B53#FFFFFF#000000##FFFFFF
##152B531.0013.981.5013.98
#FFFFFF13.981.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182F55
Deuteranopia (green-blind)
#0C2952
Tritanopia (blue-blind)
#00343B
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #152b53;
/* rgb */ color: rgb(21, 43, 83);
/* oklch */ color: oklch(29.5% 0.078 261.3);
Tailwind
colors: {
  custom: {
    50: '#5b6384',
    500: '#152b53',
    950: '#000000',
  },
}
SCSS
$custom: #152b53;
$custom-light: #5b6384;
$custom-dark: #000000;
JSON
{
  "hex": "#152b53",
  "rgb": {
    "r": 21,
    "g": 43,
    "b": 83
  },
  "hsl": {
    "h": 218.71,
    "s": 59.615,
    "l": 20.392
  },
  "oklch": {
    "l": 0.29502,
    "c": 0.07804,
    "h": 261.3
  },
  "luminance": 0.02512
}

Semantic roles & 50–950 ramp

primary
#152B53
secondary
#8B6E39
accent
#AB45E3
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #152B53

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

Preview Lab → · Contrast checker → · Palette generator →

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