#151F2C#151F2C

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

Color values

HEX#151F2C
RGBrgb(21, 31, 44)
HSLhsl(214, 35%, 13%)
HSVhsv(214, 52%, 17%)
CMYKcmyk(52.3%, 29.5%, 0%, 82.7%)
CIE-LABlab(11.42, -0.06, -10.10)
CIE-LCHlch(11.42, 10.10, 269.63°)
OKLaboklab(23.63% -0.0074 -0.0281)
OKLCHoklch(23.63% 0.029 255.2)
XYZxyz(1.2537, 1.3212, 2.5713)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151F2C #2C2215
analogous
#152A2C #151F2C #16152C
triadic
#151F2C #2C151F #1F2C15
tetradic
#151F2C #2C152A #2C2215 #152C16
square
#151F2C #2C152A #2C2215 #152C16
split-complementary
#151F2C #2C1615 #2A2C15
monochromatic
#0A0F15 #0A0F15 #151F2C #293C55 #3D597F

Accessibility & contrast

On white

16.61
#151F2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #151F2C
16.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151F2C#FFFFFF#000000##FFFFFF
##151F2C1.0016.611.2616.61
#FFFFFF16.611.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A202D
Deuteranopia (green-blind)
#171D2C
Tritanopia (blue-blind)
#0D2223
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #151f2c;
/* rgb */ color: rgb(21, 31, 44);
/* oklch */ color: oklch(23.6% 0.029 255.2);
Tailwind
colors: {
  custom: {
    50: '#535a65',
    500: '#151f2c',
    950: '#000000',
  },
}
SCSS
$custom: #151f2c;
$custom-light: #535a65;
$custom-dark: #000000;
JSON
{
  "hex": "#151f2c",
  "rgb": {
    "r": 21,
    "g": 31,
    "b": 44
  },
  "hsl": {
    "h": 213.913,
    "s": 35.385,
    "l": 12.745
  },
  "oklch": {
    "l": 0.23625,
    "c": 0.02906,
    "h": 255.2
  },
  "luminance": 0.01321
}

Semantic roles & 50–950 ramp

primary
#151F2C
secondary
#62513B
accent
#9B5CCB
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#020305
muted
#78787A

Preview Lab

Preview with #151F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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