#151F28#151F28

#151F28 is a very dark, muted cyan. Relative luminance 0.013; OKLCH L 23.4% C 0.023 H 246.1°. Best body text is #FFFFFF at 16.69:1 contrast (WCAG AA passes).

Color values

HEX#151F28
RGBrgb(21, 31, 40)
HSLhsl(208, 31%, 12%)
HSVhsv(208, 48%, 16%)
CMYKcmyk(47.5%, 22.5%, 0%, 84.3%)
CIE-LABlab(11.22, -1.50, -7.49)
CIE-LCHlch(11.22, 7.64, 258.71°)
OKLaboklab(23.4% -0.0092 -0.0207)
OKLCHoklch(23.4% 0.023 246.1)
XYZxyz(1.1821, 1.2925, 2.1943)
Luminance0.0129 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151F28 #281E15
analogous
#152828 #151F28 #151628
triadic
#151F28 #28151F #1F2815
tetradic
#151F28 #281528 #281E15 #162815
square
#151F28 #281528 #281E15 #162815
split-complementary
#151F28 #281516 #282815
monochromatic
#0B1014 #0B1014 #151F28 #2A3E50 #3F5D78

Accessibility & contrast

On white

16.69
#151F28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #151F28
16.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151F28#FFFFFF#000000##FFFFFF
##151F281.0016.691.2616.69
#FFFFFF16.691.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B1F28
Deuteranopia (green-blind)
#191D28
Tritanopia (blue-blind)
#0E2122
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #151f28;
/* rgb */ color: rgb(21, 31, 40);
/* oklch */ color: oklch(23.4% 0.023 246.1);
Tailwind
colors: {
  custom: {
    50: '#535a61',
    500: '#151f28',
    950: '#000000',
  },
}
SCSS
$custom: #151f28;
$custom-light: #535a61;
$custom-dark: #000000;
JSON
{
  "hex": "#151f28",
  "rgb": {
    "r": 21,
    "g": 31,
    "b": 40
  },
  "hsl": {
    "h": 208.421,
    "s": 31.148,
    "l": 11.961
  },
  "oklch": {
    "l": 0.23402,
    "c": 0.02262,
    "h": 246.1
  },
  "luminance": 0.01293
}

Semantic roles & 50–950 ramp

primary
#151F28
secondary
#5D4C3C
accent
#9160C7
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#020305
muted
#787879

Preview Lab

Preview with #151F28

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

Preview Lab → · Contrast checker → · Palette generator →

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