#152D42#152D42

#152D42 is a dark, muted cyan. Relative luminance 0.024; OKLCH L 28.9% C 0.049 H 246.9°. Best body text is #FFFFFF at 14.13:1 contrast (WCAG AA passes).

Color values

HEX#152D42
RGBrgb(21, 45, 66)
HSLhsl(208, 52%, 17%)
HSVhsv(208, 68%, 26%)
CMYKcmyk(68.2%, 31.8%, 0%, 74.1%)
CIE-LABlab(17.60, -1.66, -16.03)
CIE-LCHlch(17.60, 16.11, 264.10°)
OKLaboklab(28.87% -0.0193 -0.0451)
OKLCHoklch(28.87% 0.049 246.9)
XYZxyz(2.2307, 2.4293, 5.5046)
Luminance0.0243 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152D42 #422A15
analogous
#154241 #152D42 #151742
triadic
#152D42 #42152D #2D4215
tetradic
#152D42 #411542 #422A15 #174215
square
#152D42 #411542 #422A15 #174215
split-complementary
#152D42 #421517 #424115
monochromatic
#071017 #071017 #152D42 #244D70 #336C9F

Accessibility & contrast

On white

14.13
#152D42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#152D42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152D42
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152D42#FFFFFF#000000##FFFFFF
##152D421.0014.131.4914.13
#FFFFFF14.131.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242E43
Deuteranopia (green-blind)
#1E2942
Tritanopia (blue-blind)
#003234
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #152d42;
/* rgb */ color: rgb(21, 45, 66);
/* oklch */ color: oklch(28.9% 0.049 246.9);
Tailwind
colors: {
  custom: {
    50: '#576576',
    500: '#152d42',
    950: '#000000',
  },
}
SCSS
$custom: #152d42;
$custom-light: #576576;
$custom-dark: #000000;
JSON
{
  "hex": "#152d42",
  "rgb": {
    "r": 21,
    "g": 45,
    "b": 66
  },
  "hsl": {
    "h": 208,
    "s": 51.724,
    "l": 17.059
  },
  "oklch": {
    "l": 0.28866,
    "c": 0.04904,
    "h": 246.9
  },
  "luminance": 0.0243
}

Semantic roles & 50–950 ramp

primary
#152D42
secondary
#7A5739
accent
#8F4DDB
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#030508
muted
#787A7B

Preview Lab

Preview with #152D42

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

Preview Lab → · Contrast checker → · Palette generator →

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