#152D40#152D40

#152D40 is a dark, muted cyan. Relative luminance 0.024; OKLCH L 28.7% C 0.046 H 244.3°. Best body text is #FFFFFF at 14.18:1 contrast (WCAG AA passes).

Color values

HEX#152D40
RGBrgb(21, 45, 64)
HSLhsl(207, 51%, 17%)
HSVhsv(207, 67%, 25%)
CMYKcmyk(67.2%, 29.7%, 0%, 74.9%)
CIE-LABlab(17.49, -2.45, -14.82)
CIE-LCHlch(17.49, 15.02, 260.63°)
OKLaboklab(28.75% -0.02 -0.0416)
OKLCHoklch(28.75% 0.046 244.3)
XYZxyz(2.1727, 2.4062, 5.1994)
Luminance0.0241 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152D40 #402815
analogous
#15403E #152D40 #151840
triadic
#152D40 #40152D #2D4015
tetradic
#152D40 #3E1540 #402815 #184015
square
#152D40 #3E1540 #402815 #184015
split-complementary
#152D40 #401518 #403E15
monochromatic
#081017 #081017 #152D40 #244D6E #336E9C

Accessibility & contrast

On white

14.18
#152D40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #152D40
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152D40#FFFFFF#000000##FFFFFF
##152D401.0014.181.4814.18
#FFFFFF14.181.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252D41
Deuteranopia (green-blind)
#1F2940
Tritanopia (blue-blind)
#003234
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #152d40;
/* rgb */ color: rgb(21, 45, 64);
/* oklch */ color: oklch(28.7% 0.046 244.3);
Tailwind
colors: {
  custom: {
    50: '#576575',
    500: '#152d40',
    950: '#000000',
  },
}
SCSS
$custom: #152d40;
$custom-light: #576575;
$custom-dark: #000000;
JSON
{
  "hex": "#152d40",
  "rgb": {
    "r": 21,
    "g": 45,
    "b": 64
  },
  "hsl": {
    "h": 206.512,
    "s": 50.588,
    "l": 16.667
  },
  "oklch": {
    "l": 0.28747,
    "c": 0.04618,
    "h": 244.3
  },
  "luminance": 0.02406
}

Semantic roles & 50–950 ramp

primary
#152D40
secondary
#785539
accent
#8C4EDA
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#030508
muted
#787A7B

Preview Lab

Preview with #152D40

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

Preview Lab → · Contrast checker → · Palette generator →

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