#151F2B#151F2B

#151F2B is a very dark, muted cyan. Relative luminance 0.013; OKLCH L 23.6% C 0.027 H 253.4°. Best body text is #FFFFFF at 16.63:1 contrast (WCAG AA passes).

Color values

HEX#151F2B
RGBrgb(21, 31, 43)
HSLhsl(213, 34%, 13%)
HSVhsv(213, 51%, 17%)
CMYKcmyk(51.2%, 27.9%, 0%, 83.1%)
CIE-LABlab(11.37, -0.42, -9.45)
CIE-LCHlch(11.37, 9.46, 267.43°)
OKLaboklab(23.57% -0.0078 -0.0262)
OKLCHoklch(23.57% 0.027 253.4)
XYZxyz(1.2352, 1.3137, 2.4735)
Luminance0.0131 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151F2B #2B2115
analogous
#152A2B #151F2B #16152B
triadic
#151F2B #2B151F #1F2B15
tetradic
#151F2B #2B152A #2B2115 #152B16
square
#151F2B #2B152A #2B2115 #152B16
split-complementary
#151F2B #2B1615 #2A2B15
monochromatic
#0A0F15 #0A0F15 #151F2B #293D54 #3D5A7D

Accessibility & contrast

On white

16.63
#151F2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#151F2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151F2B
16.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151F2B#FFFFFF#000000##FFFFFF
##151F2B1.0016.631.2616.63
#FFFFFF16.631.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A1F2C
Deuteranopia (green-blind)
#181D2B
Tritanopia (blue-blind)
#0D2223
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #151f2b;
/* rgb */ color: rgb(21, 31, 43);
/* oklch */ color: oklch(23.6% 0.027 253.4);
Tailwind
colors: {
  custom: {
    50: '#535a64',
    500: '#151f2b',
    950: '#000000',
  },
}
SCSS
$custom: #151f2b;
$custom-light: #535a64;
$custom-dark: #000000;
JSON
{
  "hex": "#151f2b",
  "rgb": {
    "r": 21,
    "g": 31,
    "b": 43
  },
  "hsl": {
    "h": 212.727,
    "s": 34.375,
    "l": 12.549
  },
  "oklch": {
    "l": 0.23567,
    "c": 0.02738,
    "h": 253.4
  },
  "luminance": 0.01314
}

Semantic roles & 50–950 ramp

primary
#151F2B
secondary
#61503B
accent
#995DCA
background
#F4F5F5
surface
#E7E9EA
border
#C3C5C6
text
#020305
muted
#787879

Preview Lab

Preview with #151F2B

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

Preview Lab → · Contrast checker → · Palette generator →

#151F2B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva