#151F2A#151F2A

#151F2A is a very dark, muted cyan. Relative luminance 0.013; OKLCH L 23.5% C 0.026 H 251.3°. Best body text is #FFFFFF at 16.65:1 contrast (WCAG AA passes).

Color values

HEX#151F2A
RGBrgb(21, 31, 42)
HSLhsl(211, 33%, 12%)
HSVhsv(211, 50%, 16%)
CMYKcmyk(50%, 26.2%, 0%, 83.5%)
CIE-LABlab(11.32, -0.79, -8.80)
CIE-LCHlch(11.32, 8.84, 264.88°)
OKLaboklab(23.51% -0.0082 -0.0244)
OKLCHoklch(23.51% 0.026 251.3)
XYZxyz(1.2170, 1.3065, 2.3781)
Luminance0.0131 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151F2A #2A2015
analogous
#15292A #151F2A #16152A
triadic
#151F2A #2A151F #1F2A15
tetradic
#151F2A #2A1529 #2A2015 #152A16
square
#151F2A #2A1529 #2A2015 #152A16
split-complementary
#151F2A #2A1615 #292A15
monochromatic
#0A0F14 #0A0F14 #151F2A #293D53 #3E5B7C

Accessibility & contrast

On white

16.65
#151F2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #151F2A
16.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151F2A#FFFFFF#000000##FFFFFF
##151F2A1.0016.651.2616.65
#FFFFFF16.651.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B1F2B
Deuteranopia (green-blind)
#181D2A
Tritanopia (blue-blind)
#0E2123
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #151f2a;
/* rgb */ color: rgb(21, 31, 42);
/* oklch */ color: oklch(23.5% 0.026 251.3);
Tailwind
colors: {
  custom: {
    50: '#535a63',
    500: '#151f2a',
    950: '#000000',
  },
}
SCSS
$custom: #151f2a;
$custom-light: #535a63;
$custom-dark: #000000;
JSON
{
  "hex": "#151f2a",
  "rgb": {
    "r": 21,
    "g": 31,
    "b": 42
  },
  "hsl": {
    "h": 211.429,
    "s": 33.333,
    "l": 12.353
  },
  "oklch": {
    "l": 0.23511,
    "c": 0.02575,
    "h": 251.3
  },
  "luminance": 0.01307
}

Semantic roles & 50–950 ramp

primary
#151F2A
secondary
#5F4E3B
accent
#965EC9
background
#F4F5F5
surface
#E7E9EA
border
#C3C5C6
text
#020305
muted
#787879

Preview Lab

Preview with #151F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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