#152F39#152F39

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

Color values

HEX#152F39
RGBrgb(21, 47, 57)
HSLhsl(197, 46%, 15%)
HSVhsv(197, 63%, 22%)
CMYKcmyk(63.2%, 17.5%, 0%, 77.6%)
CIE-LABlab(17.86, -6.47, -9.41)
CIE-LCHlch(17.86, 11.42, 235.52°)
OKLaboklab(28.93% -0.0258 -0.0261)
OKLCHoklch(28.93% 0.037 225.4)
XYZxyz(2.0640, 2.4877, 4.2415)
Luminance0.0249 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152F39 #391F15
analogous
#153931 #152F39 #151D39
triadic
#152F39 #39152F #2F3915
tetradic
#152F39 #311539 #391F15 #1D3915
square
#152F39 #311539 #391F15 #1D3915
split-complementary
#152F39 #39151D #393115
monochromatic
#081216 #081216 #152F39 #255466 #367992

Accessibility & contrast

On white

14.02
#152F39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #152F39
14.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152F39#FFFFFF#000000##FFFFFF
##152F391.0014.021.5014.02
#FFFFFF14.021.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2E3A
Deuteranopia (green-blind)
#242A39
Tritanopia (blue-blind)
#003232
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #152f39;
/* rgb */ color: rgb(21, 47, 57);
/* oklch */ color: oklch(28.9% 0.037 225.4);
Tailwind
colors: {
  custom: {
    50: '#56676f',
    500: '#152f39',
    950: '#000000',
  },
}
SCSS
$custom: #152f39;
$custom-light: #56676f;
$custom-dark: #000000;
JSON
{
  "hex": "#152f39",
  "rgb": {
    "r": 21,
    "g": 47,
    "b": 57
  },
  "hsl": {
    "h": 196.667,
    "s": 46.154,
    "l": 15.294
  },
  "oklch": {
    "l": 0.2893,
    "c": 0.03673,
    "h": 225.4
  },
  "luminance": 0.02488
}

Semantic roles & 50–950 ramp

primary
#152F39
secondary
#704939
accent
#7752D6
background
#F5F6F6
surface
#E9EBEC
border
#C5C6C7
text
#030607
muted
#787A7A

Preview Lab

Preview with #152F39

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

Preview Lab → · Contrast checker → · Palette generator →

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