#152E53#152E53

#152E53 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.3% C 0.074 H 258.2°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#152E53
RGBrgb(21, 46, 83)
HSLhsl(216, 60%, 20%)
HSVhsv(216, 75%, 33%)
CMYKcmyk(74.7%, 44.6%, 0%, 67.5%)
CIE-LABlab(18.96, 4.59, -25.40)
CIE-LCHlch(18.96, 25.81, 280.24°)
OKLaboklab(30.27% -0.0152 -0.0724)
OKLCHoklch(30.27% 0.074 258.2)
XYZxyz(2.8470, 2.7377, 8.5603)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152E53 #533A15
analogous
#154D53 #152E53 #1B1553
triadic
#152E53 #53152E #2E5315
tetradic
#152E53 #53154D #533A15 #15531B
square
#152E53 #53154D #533A15 #15531B
split-complementary
#152E53 #531B15 #4D5315
monochromatic
#060E18 #091322 #152E53 #214984 #2E64B5

Accessibility & contrast

On white

13.57
#152E53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#152E53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152E53
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152E53#FFFFFF#000000##FFFFFF
##152E531.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3154
Deuteranopia (green-blind)
#132B52
Tritanopia (blue-blind)
#00373C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #152e53;
/* rgb */ color: rgb(21, 46, 83);
/* oklch */ color: oklch(30.3% 0.074 258.2);
Tailwind
colors: {
  custom: {
    50: '#5b6683',
    500: '#152e53',
    950: '#000000',
  },
}
SCSS
$custom: #152e53;
$custom-light: #5b6683;
$custom-dark: #000000;
JSON
{
  "hex": "#152e53",
  "rgb": {
    "r": 21,
    "g": 46,
    "b": 83
  },
  "hsl": {
    "h": 215.806,
    "s": 59.615,
    "l": 20.392
  },
  "oklch": {
    "l": 0.30268,
    "c": 0.07401,
    "h": 258.2
  },
  "luminance": 0.02738
}

Semantic roles & 50–950 ramp

primary
#152E53
secondary
#8B6A39
accent
#A345E3
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04050A
muted
#797A7C

Preview Lab

Preview with #152E53

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

Preview Lab → · Contrast checker → · Palette generator →

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