#152F42#152F42

#152F42 is a dark, muted cyan. Relative luminance 0.026; OKLCH L 29.4% C 0.047 H 242.4°. Best body text is #FFFFFF at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#152F42
RGBrgb(21, 47, 66)
HSLhsl(205, 52%, 17%)
HSVhsv(205, 68%, 26%)
CMYKcmyk(68.2%, 28.8%, 0%, 74.1%)
CIE-LABlab(18.30, -3.04, -14.93)
CIE-LCHlch(18.30, 15.24, 258.47°)
OKLaboklab(29.42% -0.0219 -0.0419)
OKLCHoklch(29.42% 0.047 242.4)
XYZxyz(2.3088, 2.5856, 5.5306)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152F42 #422815
analogous
#15423F #152F42 #151942
triadic
#152F42 #42152F #2F4215
tetradic
#152F42 #3F1542 #422815 #194215
square
#152F42 #3F1542 #422815 #194215
split-complementary
#152F42 #421519 #423F15
monochromatic
#071117 #071117 #152F42 #245070 #33719F

Accessibility & contrast

On white

13.84
#152F42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#152F42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152F42
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152F42#FFFFFF#000000##FFFFFF
##152F421.0013.841.5213.84
#FFFFFF13.841.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272F43
Deuteranopia (green-blind)
#202B42
Tritanopia (blue-blind)
#003436
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #152f42;
/* rgb */ color: rgb(21, 47, 66);
/* oklch */ color: oklch(29.4% 0.047 242.4);
Tailwind
colors: {
  custom: {
    50: '#576776',
    500: '#152f42',
    950: '#000000',
  },
}
SCSS
$custom: #152f42;
$custom-light: #576776;
$custom-dark: #000000;
JSON
{
  "hex": "#152f42",
  "rgb": {
    "r": 21,
    "g": 47,
    "b": 66
  },
  "hsl": {
    "h": 205.333,
    "s": 51.724,
    "l": 17.059
  },
  "oklch": {
    "l": 0.29423,
    "c": 0.04729,
    "h": 242.4
  },
  "luminance": 0.02586
}

Semantic roles & 50–950 ramp

primary
#152F42
secondary
#7A5439
accent
#894DDB
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#030608
muted
#787A7B

Preview Lab

Preview with #152F42

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

Preview Lab → · Contrast checker → · Palette generator →

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