#152131#152131

#152131 is a very dark, muted cyan. Relative luminance 0.015; OKLCH L 24.5% C 0.035 H 255.9°. Best body text is #FFFFFF at 16.23:1 contrast (WCAG AA passes).

Color values

HEX#152131
RGBrgb(21, 33, 49)
HSLhsl(214, 40%, 14%)
HSVhsv(214, 57%, 19%)
CMYKcmyk(57.1%, 32.7%, 0%, 80.8%)
CIE-LABlab(12.41, 0.33, -12.19)
CIE-LCHlch(12.41, 12.19, 271.54°)
OKLaboklab(24.49% -0.0086 -0.0341)
OKLCHoklch(24.49% 0.035 255.9)
XYZxyz(1.4073, 1.4688, 3.1145)
Luminance0.0147 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152131 #312515
analogous
#152F31 #152131 #171531
triadic
#152131 #311521 #213115
tetradic
#152131 #31152F #312515 #153117
square
#152131 #31152F #312515 #153117
split-complementary
#152131 #311715 #2F3115
monochromatic
#090E15 #090E15 #152131 #273E5C #3A5B87

Accessibility & contrast

On white

16.23
#152131 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#152131 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152131
16.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152131#FFFFFF#000000##FFFFFF
##1521311.0016.231.2916.23
#FFFFFF16.231.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2232
Deuteranopia (green-blind)
#171F31
Tritanopia (blue-blind)
#092527
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #152131;
/* rgb */ color: rgb(21, 33, 49);
/* oklch */ color: oklch(24.5% 0.035 255.9);
Tailwind
colors: {
  custom: {
    50: '#545c69',
    500: '#152131',
    950: '#000000',
  },
}
SCSS
$custom: #152131;
$custom-light: #545c69;
$custom-dark: #000000;
JSON
{
  "hex": "#152131",
  "rgb": {
    "r": 21,
    "g": 33,
    "b": 49
  },
  "hsl": {
    "h": 214.286,
    "s": 40,
    "l": 13.725
  },
  "oklch": {
    "l": 0.24485,
    "c": 0.03514,
    "h": 255.9
  },
  "luminance": 0.01469
}

Semantic roles & 50–950 ramp

primary
#152131
secondary
#68543A
accent
#9C58D0
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#030406
muted
#78797A

Preview Lab

Preview with #152131

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

Preview Lab → · Contrast checker → · Palette generator →

#152131 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva