#152F3F#152F3F

#152F3F is a dark, muted cyan. Relative luminance 0.026; OKLCH L 29.3% C 0.043 H 237.8°. Best body text is #FFFFFF at 13.91:1 contrast (WCAG AA passes).

Color values

HEX#152F3F
RGBrgb(21, 47, 63)
HSLhsl(203, 50%, 16%)
HSVhsv(203, 67%, 25%)
CMYKcmyk(66.7%, 25.4%, 0%, 75.3%)
CIE-LABlab(18.15, -4.21, -13.11)
CIE-LCHlch(18.15, 13.77, 252.20°)
OKLaboklab(29.25% -0.0231 -0.0367)
OKLCHoklch(29.25% 0.043 237.8)
XYZxyz(2.2226, 2.5511, 5.0769)
Luminance0.0255 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152F3F #3F2515
analogous
#153F3A #152F3F #151A3F
triadic
#152F3F #3F152F #2F3F15
tetradic
#152F3F #3A153F #3F2515 #1A3F15
square
#152F3F #3A153F #3F2515 #1A3F15
split-complementary
#152F3F #3F151A #3F3A15
monochromatic
#081117 #081117 #152F3F #24516D #34739B

Accessibility & contrast

On white

13.91
#152F3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#152F3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152F3F
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152F3F#FFFFFF#000000##FFFFFF
##152F3F1.0013.911.5113.91
#FFFFFF13.911.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282F40
Deuteranopia (green-blind)
#222A3F
Tritanopia (blue-blind)
#003334
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #152f3f;
/* rgb */ color: rgb(21, 47, 63);
/* oklch */ color: oklch(29.3% 0.043 237.8);
Tailwind
colors: {
  custom: {
    50: '#576774',
    500: '#152f3f',
    950: '#000000',
  },
}
SCSS
$custom: #152f3f;
$custom-light: #576774;
$custom-dark: #000000;
JSON
{
  "hex": "#152f3f",
  "rgb": {
    "r": 21,
    "g": 47,
    "b": 63
  },
  "hsl": {
    "h": 202.857,
    "s": 50,
    "l": 16.471
  },
  "oklch": {
    "l": 0.29251,
    "c": 0.04337,
    "h": 237.8
  },
  "luminance": 0.02551
}

Semantic roles & 50–950 ramp

primary
#152F3F
secondary
#775139
accent
#834EDA
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#030608
muted
#787A7B

Preview Lab

Preview with #152F3F

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

Preview Lab → · Contrast checker → · Palette generator →

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