#152D49#152D49

#152D49 is a dark, muted cyan. Relative luminance 0.025; OKLCH L 29.3% C 0.060 H 253.6°. Best body text is #FFFFFF at 13.97:1 contrast (WCAG AA passes).

Color values

HEX#152D49
RGBrgb(21, 45, 73)
HSLhsl(212, 55%, 18%)
HSVhsv(212, 71%, 29%)
CMYKcmyk(71.2%, 38.4%, 0%, 71.4%)
CIE-LABlab(18.00, 1.16, -20.18)
CIE-LCHlch(18.00, 20.22, 273.30°)
OKLaboklab(29.31% -0.0168 -0.0572)
OKLCHoklch(29.31% 0.06 253.6)
XYZxyz(2.4498, 2.5170, 6.6588)
Luminance0.0252 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152D49 #493115
analogous
#154749 #152D49 #171549
triadic
#152D49 #49152D #2D4915
tetradic
#152D49 #491547 #493115 #154917
square
#152D49 #491547 #493115 #154917
split-complementary
#152D49 #491715 #474915
monochromatic
#070F18 #071019 #152D49 #234A79 #3068A8

Accessibility & contrast

On white

13.97
#152D49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #152D49
13.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152D49#FFFFFF#000000##FFFFFF
##152D491.0013.971.5013.97
#FFFFFF13.971.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212F4A
Deuteranopia (green-blind)
#1A2A48
Tritanopia (blue-blind)
#003337
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #152d49;
/* rgb */ color: rgb(21, 45, 73);
/* oklch */ color: oklch(29.3% 0.060 253.6);
Tailwind
colors: {
  custom: {
    50: '#59657c',
    500: '#152d49',
    950: '#000000',
  },
}
SCSS
$custom: #152d49;
$custom-light: #59657c;
$custom-dark: #000000;
JSON
{
  "hex": "#152d49",
  "rgb": {
    "r": 21,
    "g": 45,
    "b": 73
  },
  "hsl": {
    "h": 212.308,
    "s": 55.319,
    "l": 18.431
  },
  "oklch": {
    "l": 0.29311,
    "c": 0.05961,
    "h": 253.6
  },
  "luminance": 0.02517
}

Semantic roles & 50–950 ramp

primary
#152D49
secondary
#816039
accent
#9A49DF
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#040509
muted
#797A7B

Preview Lab

Preview with #152D49

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

Preview Lab → · Contrast checker → · Palette generator →

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