#152B31#152B31

#152B31 is a dark, muted cyan. Relative luminance 0.021; OKLCH L 27.4% C 0.030 H 217.3°. Best body text is #FFFFFF at 14.77:1 contrast (WCAG AA passes).

Color values

HEX#152B31
RGBrgb(21, 43, 49)
HSLhsl(193, 40%, 14%)
HSVhsv(193, 57%, 19%)
CMYKcmyk(57.1%, 12.2%, 0%, 80.8%)
CIE-LABlab(16.05, -6.68, -6.60)
CIE-LCHlch(16.05, 9.39, 224.64°)
OKLaboklab(27.37% -0.0239 -0.0182)
OKLCHoklch(27.37% 0.03 217.3)
XYZxyz(1.7273, 2.1088, 3.2211)
Luminance0.0211 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152B31 #311B15
analogous
#153129 #152B31 #151D31
triadic
#152B31 #31152B #2B3115
tetradic
#152B31 #291531 #311B15 #1D3115
square
#152B31 #291531 #311B15 #1D3115
split-complementary
#152B31 #31151D #312915
monochromatic
#091315 #091315 #152B31 #27515C #3A7687

Accessibility & contrast

On white

14.77
#152B31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#152B31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152B31
14.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152B31#FFFFFF#000000##FFFFFF
##152B311.0014.771.4214.77
#FFFFFF14.771.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272A31
Deuteranopia (green-blind)
#232631
Tritanopia (blue-blind)
#072D2D
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #152b31;
/* rgb */ color: rgb(21, 43, 49);
/* oklch */ color: oklch(27.4% 0.030 217.3);
Tailwind
colors: {
  custom: {
    50: '#556469',
    500: '#152b31',
    950: '#000000',
  },
}
SCSS
$custom: #152b31;
$custom-light: #556469;
$custom-dark: #000000;
JSON
{
  "hex": "#152b31",
  "rgb": {
    "r": 21,
    "g": 43,
    "b": 49
  },
  "hsl": {
    "h": 192.857,
    "s": 40,
    "l": 13.725
  },
  "oklch": {
    "l": 0.27365,
    "c": 0.03004,
    "h": 217.3
  },
  "luminance": 0.02109
}

Semantic roles & 50–950 ramp

primary
#152B31
secondary
#68443A
accent
#7258D0
background
#F5F5F6
surface
#E8EAEB
border
#C4C6C6
text
#030506
muted
#78797A

Preview Lab

Preview with #152B31

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

Preview Lab → · Contrast checker → · Palette generator →

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