#152F40#152F40

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

Color values

HEX#152F40
RGBrgb(21, 47, 64)
HSLhsl(204, 51%, 17%)
HSVhsv(204, 67%, 25%)
CMYKcmyk(67.2%, 26.6%, 0%, 74.9%)
CIE-LABlab(18.20, -3.82, -13.72)
CIE-LCHlch(18.20, 14.24, 254.42°)
OKLaboklab(29.31% -0.0227 -0.0384)
OKLCHoklch(29.31% 0.045 239.4)
XYZxyz(2.2508, 2.5624, 5.2255)
Luminance0.0256 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152F40 #402615
analogous
#15403C #152F40 #151A40
triadic
#152F40 #40152F #2F4015
tetradic
#152F40 #3C1540 #402615 #1A4015
square
#152F40 #3C1540 #402615 #1A4015
split-complementary
#152F40 #40151A #403C15
monochromatic
#081117 #081117 #152F40 #24516E #33739C

Accessibility & contrast

On white

13.88
#152F40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #152F40
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152F40#FFFFFF#000000##FFFFFF
##152F401.0013.881.5113.88
#FFFFFF13.881.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272F41
Deuteranopia (green-blind)
#212A40
Tritanopia (blue-blind)
#003335
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #152f40;
/* rgb */ color: rgb(21, 47, 64);
/* oklch */ color: oklch(29.3% 0.045 239.4);
Tailwind
colors: {
  custom: {
    50: '#576775',
    500: '#152f40',
    950: '#000000',
  },
}
SCSS
$custom: #152f40;
$custom-light: #576775;
$custom-dark: #000000;
JSON
{
  "hex": "#152f40",
  "rgb": {
    "r": 21,
    "g": 47,
    "b": 64
  },
  "hsl": {
    "h": 203.721,
    "s": 50.588,
    "l": 16.667
  },
  "oklch": {
    "l": 0.29308,
    "c": 0.04464,
    "h": 239.4
  },
  "luminance": 0.02563
}

Semantic roles & 50–950 ramp

primary
#152F40
secondary
#785239
accent
#854EDA
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#030608
muted
#787A7B

Preview Lab

Preview with #152F40

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

Preview Lab → · Contrast checker → · Palette generator →

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