#152A40#152A40

#152A40 is a dark, muted cyan. Relative luminance 0.022; OKLCH L 27.9% C 0.049 H 251.0°. Best body text is #FFFFFF at 14.61:1 contrast (WCAG AA passes).

Color values

HEX#152A40
RGBrgb(21, 42, 64)
HSLhsl(211, 51%, 17%)
HSVhsv(211, 67%, 25%)
CMYKcmyk(67.2%, 34.4%, 0%, 74.9%)
CIE-LABlab(16.43, -0.33, -16.47)
CIE-LCHlch(16.43, 16.48, 268.85°)
OKLaboklab(27.91% -0.016 -0.0464)
OKLCHoklch(27.91% 0.049 251)
XYZxyz(2.0623, 2.1853, 5.1626)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152A40 #402B15
analogous
#154040 #152A40 #161540
triadic
#152A40 #40152A #2A4015
tetradic
#152A40 #401540 #402B15 #154016
square
#152A40 #401540 #402B15 #154016
split-complementary
#152A40 #401615 #404015
monochromatic
#080F17 #080F17 #152A40 #24486E #33669C

Accessibility & contrast

On white

14.61
#152A40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #152A40
14.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152A40#FFFFFF#000000##FFFFFF
##152A401.0014.611.4414.61
#FFFFFF14.611.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212B41
Deuteranopia (green-blind)
#1B2740
Tritanopia (blue-blind)
#002F32
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #152a40;
/* rgb */ color: rgb(21, 42, 64);
/* oklch */ color: oklch(27.9% 0.049 251.0);
Tailwind
colors: {
  custom: {
    50: '#576375',
    500: '#152a40',
    950: '#000000',
  },
}
SCSS
$custom: #152a40;
$custom-light: #576375;
$custom-dark: #000000;
JSON
{
  "hex": "#152a40",
  "rgb": {
    "r": 21,
    "g": 42,
    "b": 64
  },
  "hsl": {
    "h": 210.698,
    "s": 50.588,
    "l": 16.667
  },
  "oklch": {
    "l": 0.27914,
    "c": 0.0491,
    "h": 251
  },
  "luminance": 0.02186
}

Semantic roles & 50–950 ramp

primary
#152A40
secondary
#785939
accent
#964EDA
background
#F5F5F7
surface
#E9EAED
border
#C5C6C8
text
#030508
muted
#78797B

Preview Lab

Preview with #152A40

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

Preview Lab → · Contrast checker → · Palette generator →

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