#152E5D#152E5D

#152E5D is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.0% C 0.090 H 261.6°. Best body text is #FFFFFF at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#152E5D
RGBrgb(21, 46, 93)
HSLhsl(219, 63%, 22%)
HSVhsv(219, 77%, 36%)
CMYKcmyk(77.4%, 50.5%, 0%, 63.5%)
CIE-LABlab(19.65, 8.80, -30.94)
CIE-LCHlch(19.65, 32.17, 285.87°)
OKLaboklab(31.03% -0.013 -0.0887)
OKLCHoklch(31.03% 0.09 261.6)
XYZxyz(3.2613, 2.9034, 10.7423)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152E5D #5D4415
analogous
#15525D #152E5D #20155D
triadic
#152E5D #5D152E #2E5D15
tetradic
#152E5D #5D1552 #5D4415 #155D20
square
#152E5D #5D1552 #5D4415 #155D20
split-complementary
#152E5D #5D2015 #525D15
monochromatic
#060C19 #0A152B #152E5D #20478F #2C5FC1

Accessibility & contrast

On white

13.28
#152E5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#152E5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152E5D
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152E5D#FFFFFF#000000##FFFFFF
##152E5D1.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15335F
Deuteranopia (green-blind)
#042C5C
Tritanopia (blue-blind)
#003941
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #152e5d;
/* rgb */ color: rgb(21, 46, 93);
/* oklch */ color: oklch(31.0% 0.090 261.6);
Tailwind
colors: {
  custom: {
    50: '#5d668b',
    500: '#152e5d',
    950: '#000000',
  },
}
SCSS
$custom: #152e5d;
$custom-light: #5d668b;
$custom-dark: #000000;
JSON
{
  "hex": "#152e5d",
  "rgb": {
    "r": 21,
    "g": 46,
    "b": 93
  },
  "hsl": {
    "h": 219.167,
    "s": 63.158,
    "l": 22.353
  },
  "oklch": {
    "l": 0.31025,
    "c": 0.08969,
    "h": 261.6
  },
  "luminance": 0.02904
}

Semantic roles & 50–950 ramp

primary
#152E5D
secondary
#947539
accent
#AD42E6
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05050C
muted
#797A7D

Preview Lab

Preview with #152E5D

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

Preview Lab → · Contrast checker → · Palette generator →

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