#152E39#152E39

#152E39 is a dark, muted cyan. Relative luminance 0.024; OKLCH L 28.6% C 0.037 H 228.6°. Best body text is #FFFFFF at 14.17:1 contrast (WCAG AA passes).

Color values

HEX#152E39
RGBrgb(21, 46, 57)
HSLhsl(198, 46%, 15%)
HSVhsv(198, 63%, 22%)
CMYKcmyk(63.2%, 19.3%, 0%, 77.6%)
CIE-LABlab(17.50, -5.80, -9.97)
CIE-LCHlch(17.50, 11.53, 239.82°)
OKLaboklab(28.64% -0.0244 -0.0277)
OKLCHoklch(28.64% 0.037 228.6)
XYZxyz(2.0245, 2.4086, 4.2283)
Luminance0.0241 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152E39 #392015
analogous
#153932 #152E39 #151C39
triadic
#152E39 #39152E #2E3915
tetradic
#152E39 #321539 #392015 #1C3915
square
#152E39 #321539 #392015 #1C3915
split-complementary
#152E39 #39151C #393215
monochromatic
#081216 #081216 #152E39 #255266 #367692

Accessibility & contrast

On white

14.17
#152E39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#152E39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152E39
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152E39#FFFFFF#000000##FFFFFF
##152E391.0014.171.4814.17
#FFFFFF14.171.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282D3A
Deuteranopia (green-blind)
#232939
Tritanopia (blue-blind)
#003132
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #152e39;
/* rgb */ color: rgb(21, 46, 57);
/* oklch */ color: oklch(28.6% 0.037 228.6);
Tailwind
colors: {
  custom: {
    50: '#56666f',
    500: '#152e39',
    950: '#000000',
  },
}
SCSS
$custom: #152e39;
$custom-light: #56666f;
$custom-dark: #000000;
JSON
{
  "hex": "#152e39",
  "rgb": {
    "r": 21,
    "g": 46,
    "b": 57
  },
  "hsl": {
    "h": 198.333,
    "s": 46.154,
    "l": 15.294
  },
  "oklch": {
    "l": 0.28641,
    "c": 0.03692,
    "h": 228.6
  },
  "luminance": 0.02409
}

Semantic roles & 50–950 ramp

primary
#152E39
secondary
#704A39
accent
#7A52D6
background
#F5F6F6
surface
#E9EBEC
border
#C5C6C7
text
#030607
muted
#787A7A

Preview Lab

Preview with #152E39

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

Preview Lab → · Contrast checker → · Palette generator →

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