#152D48#152D48

#152D48 is a dark, muted cyan. Relative luminance 0.025; OKLCH L 29.2% C 0.058 H 252.8°. Best body text is #FFFFFF at 13.99:1 contrast (WCAG AA passes).

Color values

HEX#152D48
RGBrgb(21, 45, 72)
HSLhsl(212, 55%, 18%)
HSVhsv(212, 71%, 28%)
CMYKcmyk(70.8%, 37.5%, 0%, 71.8%)
CIE-LABlab(17.94, 0.76, -19.60)
CIE-LCHlch(17.94, 19.61, 272.21°)
OKLaboklab(29.24% -0.0171 -0.0555)
OKLCHoklch(29.24% 0.058 252.8)
XYZxyz(2.4169, 2.5038, 6.4856)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152D48 #483015
analogous
#154648 #152D48 #161548
triadic
#152D48 #48152D #2D4815
tetradic
#152D48 #481546 #483015 #154816
square
#152D48 #481546 #483015 #154816
split-complementary
#152D48 #481615 #464815
monochromatic
#070F18 #070F19 #152D48 #234B77 #3168A7

Accessibility & contrast

On white

13.99
#152D48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #152D48
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152D48#FFFFFF#000000##FFFFFF
##152D481.0013.991.5013.99
#FFFFFF13.991.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #152d48;
/* rgb */ color: rgb(21, 45, 72);
/* oklch */ color: oklch(29.2% 0.058 252.8);
Tailwind
colors: {
  custom: {
    50: '#58657b',
    500: '#152d48',
    950: '#000000',
  },
}
SCSS
$custom: #152d48;
$custom-light: #58657b;
$custom-dark: #000000;
JSON
{
  "hex": "#152d48",
  "rgb": {
    "r": 21,
    "g": 45,
    "b": 72
  },
  "hsl": {
    "h": 211.765,
    "s": 54.839,
    "l": 18.235
  },
  "oklch": {
    "l": 0.29245,
    "c": 0.05807,
    "h": 252.8
  },
  "luminance": 0.02504
}

Semantic roles & 50–950 ramp

primary
#152D48
secondary
#805E39
accent
#984ADE
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#040509
muted
#797A7B

Preview Lab

Preview with #152D48

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

Preview Lab → · Contrast checker → · Palette generator →

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