#152F38#152F38

#152F38 is a dark, muted cyan. Relative luminance 0.025; OKLCH L 28.9% C 0.036 H 222.8°. Best body text is #FFFFFF at 14.04:1 contrast (WCAG AA passes).

Color values

HEX#152F38
RGBrgb(21, 47, 56)
HSLhsl(195, 45%, 15%)
HSVhsv(195, 63%, 22%)
CMYKcmyk(62.5%, 16.1%, 0%, 78%)
CIE-LABlab(17.82, -6.83, -8.79)
CIE-LCHlch(17.82, 11.13, 232.15°)
OKLaboklab(28.88% -0.0263 -0.0244)
OKLCHoklch(28.88% 0.036 222.8)
XYZxyz(2.0393, 2.4778, 4.1114)
Luminance0.0248 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152F38 #381E15
analogous
#153830 #152F38 #151D38
triadic
#152F38 #38152F #2F3815
tetradic
#152F38 #301538 #381E15 #1D3815
square
#152F38 #301538 #381E15 #1D3815
split-complementary
#152F38 #38151D #383015
monochromatic
#081316 #081316 #152F38 #265465 #367A91

Accessibility & contrast

On white

14.04
#152F38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#152F38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152F38
14.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152F38#FFFFFF#000000##FFFFFF
##152F381.0014.041.5014.04
#FFFFFF14.041.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2E38
Deuteranopia (green-blind)
#252A38
Tritanopia (blue-blind)
#013232
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #152f38;
/* rgb */ color: rgb(21, 47, 56);
/* oklch */ color: oklch(28.9% 0.036 222.8);
Tailwind
colors: {
  custom: {
    50: '#56676e',
    500: '#152f38',
    950: '#000000',
  },
}
SCSS
$custom: #152f38;
$custom-light: #56676e;
$custom-dark: #000000;
JSON
{
  "hex": "#152f38",
  "rgb": {
    "r": 21,
    "g": 47,
    "b": 56
  },
  "hsl": {
    "h": 195.429,
    "s": 45.455,
    "l": 15.098
  },
  "oklch": {
    "l": 0.28879,
    "c": 0.03585,
    "h": 222.8
  },
  "luminance": 0.02478
}

Semantic roles & 50–950 ramp

primary
#152F38
secondary
#6F473A
accent
#7453D5
background
#F5F6F6
surface
#E9EBEB
border
#C5C6C6
text
#030607
muted
#787A7A

Preview Lab

Preview with #152F38

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

Preview Lab → · Contrast checker → · Palette generator →

#152F38 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva