#152A42#152A42

#152A42 is a dark, muted cyan. Relative luminance 0.022; OKLCH L 28.0% C 0.052 H 253.0°. Best body text is #FFFFFF at 14.57:1 contrast (WCAG AA passes).

Color values

HEX#152A42
RGBrgb(21, 42, 66)
HSLhsl(212, 52%, 17%)
HSVhsv(212, 68%, 26%)
CMYKcmyk(68.2%, 36.4%, 0%, 74.1%)
CIE-LABlab(16.55, 0.47, -17.67)
CIE-LCHlch(16.55, 17.68, 271.52°)
OKLaboklab(28.04% -0.0153 -0.0499)
OKLCHoklch(28.04% 0.052 253)
XYZxyz(2.1202, 2.2085, 5.4678)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152A42 #422D15
analogous
#154142 #152A42 #171542
triadic
#152A42 #42152A #2A4215
tetradic
#152A42 #421541 #422D15 #154217
square
#152A42 #421541 #422D15 #154217
split-complementary
#152A42 #421715 #414215
monochromatic
#070F17 #070F17 #152A42 #244870 #33659F

Accessibility & contrast

On white

14.57
#152A42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#152A42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152A42
14.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152A42#FFFFFF#000000##FFFFFF
##152A421.0014.571.4414.57
#FFFFFF14.571.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202B43
Deuteranopia (green-blind)
#1A2742
Tritanopia (blue-blind)
#003033
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #152a42;
/* rgb */ color: rgb(21, 42, 66);
/* oklch */ color: oklch(28.0% 0.052 253.0);
Tailwind
colors: {
  custom: {
    50: '#576376',
    500: '#152a42',
    950: '#000000',
  },
}
SCSS
$custom: #152a42;
$custom-light: #576376;
$custom-dark: #000000;
JSON
{
  "hex": "#152a42",
  "rgb": {
    "r": 21,
    "g": 42,
    "b": 66
  },
  "hsl": {
    "h": 212,
    "s": 51.724,
    "l": 17.059
  },
  "oklch": {
    "l": 0.28041,
    "c": 0.0522,
    "h": 253
  },
  "luminance": 0.02209
}

Semantic roles & 50–950 ramp

primary
#152A42
secondary
#7A5C39
accent
#994DDB
background
#F5F5F7
surface
#E9EAED
border
#C5C6C8
text
#030508
muted
#78797B

Preview Lab

Preview with #152A42

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

Preview Lab → · Contrast checker → · Palette generator →

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