#152C48#152C48

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

Color values

HEX#152C48
RGBrgb(21, 44, 72)
HSLhsl(213, 55%, 18%)
HSVhsv(213, 71%, 28%)
CMYKcmyk(70.8%, 38.9%, 0%, 71.8%)
CIE-LABlab(17.59, 1.47, -20.14)
CIE-LCHlch(17.59, 20.19, 274.18°)
OKLaboklab(28.98% -0.0159 -0.0571)
OKLCHoklch(28.98% 0.059 254.4)
XYZxyz(2.3792, 2.4284, 6.4730)
Luminance0.0243 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152C48 #483115
analogous
#154548 #152C48 #171548
triadic
#152C48 #48152C #2C4815
tetradic
#152C48 #481545 #483115 #154817
square
#152C48 #481545 #483115 #154817
split-complementary
#152C48 #481715 #454815
monochromatic
#070E18 #070F19 #152C48 #234977 #3166A7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##152C48#FFFFFF#000000##FFFFFF
##152C481.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)
#202E49
Deuteranopia (green-blind)
#192947
Tritanopia (blue-blind)
#003236
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #152c48;
/* rgb */ color: rgb(21, 44, 72);
/* oklch */ color: oklch(29.0% 0.059 254.4);
Tailwind
colors: {
  custom: {
    50: '#58647b',
    500: '#152c48',
    950: '#000000',
  },
}
SCSS
$custom: #152c48;
$custom-light: #58647b;
$custom-dark: #000000;
JSON
{
  "hex": "#152c48",
  "rgb": {
    "r": 21,
    "g": 44,
    "b": 72
  },
  "hsl": {
    "h": 212.941,
    "s": 54.839,
    "l": 18.235
  },
  "oklch": {
    "l": 0.28976,
    "c": 0.05924,
    "h": 254.4
  },
  "luminance": 0.02429
}

Semantic roles & 50–950 ramp

primary
#152C48
secondary
#806039
accent
#9B4ADE
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#040509
muted
#797A7B

Preview Lab

Preview with #152C48

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

Preview Lab → · Contrast checker → · Palette generator →

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