#152A3F#152A3F

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

Color values

HEX#152A3F
RGBrgb(21, 42, 63)
HSLhsl(210, 50%, 16%)
HSVhsv(210, 67%, 25%)
CMYKcmyk(66.7%, 33.3%, 0%, 75.3%)
CIE-LABlab(16.38, -0.73, -15.87)
CIE-LCHlch(16.38, 15.88, 267.36°)
OKLaboklab(27.85% -0.0163 -0.0447)
OKLCHoklch(27.85% 0.048 249.9)
XYZxyz(2.0341, 2.1741, 5.0141)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152A3F #3F2A15
analogous
#153F3F #152A3F #15153F
triadic
#152A3F #3F152A #2A3F15
tetradic
#152A3F #3F153F #3F2A15 #153F15
square
#152A3F #3F153F #3F2A15 #153F15
split-complementary
#152A3F #3F1515 #3F3F15
monochromatic
#080F17 #080F17 #152A3F #24496D #34679B

Accessibility & contrast

On white

14.64
#152A3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#152A3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152A3F
14.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152A3F#FFFFFF#000000##FFFFFF
##152A3F1.0014.641.4314.64
#FFFFFF14.641.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212B40
Deuteranopia (green-blind)
#1C273F
Tritanopia (blue-blind)
#002F31
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #152a3f;
/* rgb */ color: rgb(21, 42, 63);
/* oklch */ color: oklch(27.9% 0.048 249.9);
Tailwind
colors: {
  custom: {
    50: '#576374',
    500: '#152a3f',
    950: '#000000',
  },
}
SCSS
$custom: #152a3f;
$custom-light: #576374;
$custom-dark: #000000;
JSON
{
  "hex": "#152a3f",
  "rgb": {
    "r": 21,
    "g": 42,
    "b": 63
  },
  "hsl": {
    "h": 210,
    "s": 50,
    "l": 16.471
  },
  "oklch": {
    "l": 0.27852,
    "c": 0.04756,
    "h": 249.9
  },
  "luminance": 0.02174
}

Semantic roles & 50–950 ramp

primary
#152A3F
secondary
#775839
accent
#944EDA
background
#F5F5F7
surface
#E9EAED
border
#C5C6C8
text
#030508
muted
#78797B

Preview Lab

Preview with #152A3F

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

Preview Lab → · Contrast checker → · Palette generator →

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