#152D47#152D47

#152D47 is a dark, muted cyan. Relative luminance 0.025; OKLCH L 29.2% C 0.057 H 252.0°. Best body text is #FFFFFF at 14.02:1 contrast (WCAG AA passes).

Color values

HEX#152D47
RGBrgb(21, 45, 71)
HSLhsl(211, 54%, 18%)
HSVhsv(211, 70%, 28%)
CMYKcmyk(70.4%, 36.6%, 0%, 72.2%)
CIE-LABlab(17.88, 0.35, -19.01)
CIE-LCHlch(17.88, 19.01, 271.06°)
OKLaboklab(29.18% -0.0175 -0.0538)
OKLCHoklch(29.18% 0.057 252)
XYZxyz(2.3846, 2.4909, 6.3151)
Luminance0.0249 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152D47 #472F15
analogous
#154647 #152D47 #161547
triadic
#152D47 #47152D #2D4715
tetradic
#152D47 #471546 #472F15 #154716
square
#152D47 #471546 #472F15 #154716
split-complementary
#152D47 #471615 #464715
monochromatic
#070F18 #070F18 #152D47 #234B76 #3169A5

Accessibility & contrast

On white

14.02
#152D47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#152D47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152D47
14.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152D47#FFFFFF#000000##FFFFFF
##152D471.0014.021.5014.02
#FFFFFF14.021.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222E48
Deuteranopia (green-blind)
#1B2A46
Tritanopia (blue-blind)
#003336
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #152d47;
/* rgb */ color: rgb(21, 45, 71);
/* oklch */ color: oklch(29.2% 0.057 252.0);
Tailwind
colors: {
  custom: {
    50: '#58657a',
    500: '#152d47',
    950: '#000000',
  },
}
SCSS
$custom: #152d47;
$custom-light: #58657a;
$custom-dark: #000000;
JSON
{
  "hex": "#152d47",
  "rgb": {
    "r": 21,
    "g": 45,
    "b": 71
  },
  "hsl": {
    "h": 211.2,
    "s": 54.348,
    "l": 18.039
  },
  "oklch": {
    "l": 0.2918,
    "c": 0.05653,
    "h": 252
  },
  "luminance": 0.02491
}

Semantic roles & 50–950 ramp

primary
#152D47
secondary
#7F5D39
accent
#974ADE
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#040509
muted
#797A7B

Preview Lab

Preview with #152D47

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

Preview Lab → · Contrast checker → · Palette generator →

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