#152F52#152F52

#152F52 is a dark, moderate cyan. Relative luminance 0.028; OKLCH L 30.5% C 0.071 H 256.5°. Best body text is #FFFFFF at 13.46:1 contrast (WCAG AA passes).

Color values

HEX#152F52
RGBrgb(21, 47, 82)
HSLhsl(214, 59%, 20%)
HSVhsv(214, 74%, 32%)
CMYKcmyk(74.4%, 42.7%, 0%, 67.8%)
CIE-LABlab(19.23, 3.45, -24.30)
CIE-LCHlch(19.23, 24.55, 278.08°)
OKLaboklab(30.46% -0.0166 -0.0692)
OKLCHoklch(30.46% 0.071 256.5)
XYZxyz(2.8482, 2.8014, 8.3716)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152F52 #523815
analogous
#154D52 #152F52 #191552
triadic
#152F52 #52152F #2F5215
tetradic
#152F52 #52154D #523815 #155219
square
#152F52 #52154D #523815 #155219
split-complementary
#152F52 #521915 #4D5215
monochromatic
#060E18 #091321 #152F52 #214B83 #2E67B3

Accessibility & contrast

On white

13.46
#152F52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#152F52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152F52
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152F52#FFFFFF#000000##FFFFFF
##152F521.0013.461.5613.46
#FFFFFF13.461.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3253
Deuteranopia (green-blind)
#162C51
Tritanopia (blue-blind)
#00373C
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #152f52;
/* rgb */ color: rgb(21, 47, 82);
/* oklch */ color: oklch(30.5% 0.071 256.5);
Tailwind
colors: {
  custom: {
    50: '#5b6783',
    500: '#152f52',
    950: '#000000',
  },
}
SCSS
$custom: #152f52;
$custom-light: #5b6783;
$custom-dark: #000000;
JSON
{
  "hex": "#152f52",
  "rgb": {
    "r": 21,
    "g": 47,
    "b": 82
  },
  "hsl": {
    "h": 214.426,
    "s": 59.223,
    "l": 20.196
  },
  "oklch": {
    "l": 0.30456,
    "c": 0.07117,
    "h": 256.5
  },
  "luminance": 0.02802
}

Semantic roles & 50–950 ramp

primary
#152F52
secondary
#8A6739
accent
#9F45E2
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04060A
muted
#797A7C

Preview Lab

Preview with #152F52

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

Preview Lab → · Contrast checker → · Palette generator →

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