#152C42#152C42

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

Color values

HEX#152C42
RGBrgb(21, 44, 66)
HSLhsl(209, 52%, 17%)
HSVhsv(209, 68%, 26%)
CMYKcmyk(68.2%, 33.3%, 0%, 74.1%)
CIE-LABlab(17.24, -0.95, -16.58)
CIE-LCHlch(17.24, 16.61, 266.71°)
OKLaboklab(28.59% -0.0179 -0.0467)
OKLCHoklch(28.59% 0.05 249)
XYZxyz(2.1930, 2.3539, 5.4920)
Luminance0.0235 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152C42 #422B15
analogous
#154242 #152C42 #151642
triadic
#152C42 #42152C #2C4215
tetradic
#152C42 #421542 #422B15 #164215
square
#152C42 #421542 #422B15 #164215
split-complementary
#152C42 #421516 #424215
monochromatic
#070F17 #070F17 #152C42 #244B70 #336A9F

Accessibility & contrast

On white

14.28
#152C42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#152C42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152C42
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152C42#FFFFFF#000000##FFFFFF
##152C421.0014.281.4714.28
#FFFFFF14.281.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232D43
Deuteranopia (green-blind)
#1D2842
Tritanopia (blue-blind)
#003134
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #152c42;
/* rgb */ color: rgb(21, 44, 66);
/* oklch */ color: oklch(28.6% 0.050 249.0);
Tailwind
colors: {
  custom: {
    50: '#576476',
    500: '#152c42',
    950: '#000000',
  },
}
SCSS
$custom: #152c42;
$custom-light: #576476;
$custom-dark: #000000;
JSON
{
  "hex": "#152c42",
  "rgb": {
    "r": 21,
    "g": 44,
    "b": 66
  },
  "hsl": {
    "h": 209.333,
    "s": 51.724,
    "l": 17.059
  },
  "oklch": {
    "l": 0.2859,
    "c": 0.05002,
    "h": 249
  },
  "luminance": 0.02354
}

Semantic roles & 50–950 ramp

primary
#152C42
secondary
#7A5939
accent
#924DDB
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#030508
muted
#787A7B

Preview Lab

Preview with #152C42

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

Preview Lab → · Contrast checker → · Palette generator →

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