#152A31#152A31

#152A31 is a dark, muted cyan. Relative luminance 0.020; OKLCH L 27.1% C 0.030 H 221.5°. Best body text is #FFFFFF at 14.92:1 contrast (WCAG AA passes).

Color values

HEX#152A31
RGBrgb(21, 42, 49)
HSLhsl(195, 40%, 14%)
HSVhsv(195, 57%, 19%)
CMYKcmyk(57.1%, 14.3%, 0%, 80.8%)
CIE-LABlab(15.68, -6.01, -7.16)
CIE-LCHlch(15.68, 9.35, 229.96°)
OKLaboklab(27.07% -0.0224 -0.0198)
OKLCHoklch(27.07% 0.03 221.5)
XYZxyz(1.6914, 2.0370, 3.2092)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152A31 #311C15
analogous
#15312A #152A31 #151C31
triadic
#152A31 #31152A #2A3115
tetradic
#152A31 #2A1531 #311C15 #1C3115
square
#152A31 #2A1531 #311C15 #1C3115
split-complementary
#152A31 #31151C #312A15
monochromatic
#091215 #091215 #152A31 #274F5C #3A7387

Accessibility & contrast

On white

14.92
#152A31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#152A31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152A31
14.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152A31#FFFFFF#000000##FFFFFF
##152A311.0014.921.4114.92
#FFFFFF14.921.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262931
Deuteranopia (green-blind)
#222631
Tritanopia (blue-blind)
#072C2C
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #152a31;
/* rgb */ color: rgb(21, 42, 49);
/* oklch */ color: oklch(27.1% 0.030 221.5);
Tailwind
colors: {
  custom: {
    50: '#546369',
    500: '#152a31',
    950: '#000000',
  },
}
SCSS
$custom: #152a31;
$custom-light: #546369;
$custom-dark: #000000;
JSON
{
  "hex": "#152a31",
  "rgb": {
    "r": 21,
    "g": 42,
    "b": 49
  },
  "hsl": {
    "h": 195,
    "s": 40,
    "l": 13.725
  },
  "oklch": {
    "l": 0.27072,
    "c": 0.02987,
    "h": 221.5
  },
  "luminance": 0.02037
}

Semantic roles & 50–950 ramp

primary
#152A31
secondary
#68463A
accent
#7658D0
background
#F5F5F6
surface
#E8EAEB
border
#C4C6C6
text
#030506
muted
#78797A

Preview Lab

Preview with #152A31

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

Preview Lab → · Contrast checker → · Palette generator →

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