#152A38#152A38

#152A38 is a dark, muted cyan. Relative luminance 0.021; OKLCH L 27.4% C 0.038 H 239.3°. Best body text is #FFFFFF at 14.79:1 contrast (WCAG AA passes).

Color values

HEX#152A38
RGBrgb(21, 42, 56)
HSLhsl(204, 45%, 15%)
HSVhsv(204, 63%, 22%)
CMYKcmyk(62.5%, 25%, 0%, 78%)
CIE-LABlab(16.01, -3.44, -11.57)
CIE-LCHlch(16.01, 12.07, 253.42°)
OKLaboklab(27.44% -0.0191 -0.0323)
OKLCHoklch(27.44% 0.038 239.3)
XYZxyz(1.8508, 2.1007, 4.0486)
Luminance0.0210 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152A38 #382315
analogous
#153835 #152A38 #151838
triadic
#152A38 #38152A #2A3815
tetradic
#152A38 #351538 #382315 #183815
square
#152A38 #351538 #382315 #183815
split-complementary
#152A38 #381518 #383515
monochromatic
#081116 #081116 #152A38 #264B65 #366D91

Accessibility & contrast

On white

14.79
#152A38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#152A38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152A38
14.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152A38#FFFFFF#000000##FFFFFF
##152A381.0014.791.4214.79
#FFFFFF14.791.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242A39
Deuteranopia (green-blind)
#1F2638
Tritanopia (blue-blind)
#022E2F
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #152a38;
/* rgb */ color: rgb(21, 42, 56);
/* oklch */ color: oklch(27.4% 0.038 239.3);
Tailwind
colors: {
  custom: {
    50: '#55636e',
    500: '#152a38',
    950: '#000000',
  },
}
SCSS
$custom: #152a38;
$custom-light: #55636e;
$custom-dark: #000000;
JSON
{
  "hex": "#152a38",
  "rgb": {
    "r": 21,
    "g": 42,
    "b": 56
  },
  "hsl": {
    "h": 204,
    "s": 45.455,
    "l": 15.098
  },
  "oklch": {
    "l": 0.2744,
    "c": 0.03753,
    "h": 239.3
  },
  "luminance": 0.02101
}

Semantic roles & 50–950 ramp

primary
#152A38
secondary
#6F4F3A
accent
#8753D5
background
#F5F5F6
surface
#E9EAEC
border
#C5C6C7
text
#030507
muted
#78797A

Preview Lab

Preview with #152A38

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

Preview Lab → · Contrast checker → · Palette generator →

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