#152F53#152F53

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

Color values

HEX#152F53
RGBrgb(21, 47, 83)
HSLhsl(215, 60%, 20%)
HSVhsv(215, 75%, 33%)
CMYKcmyk(74.7%, 43.4%, 0%, 67.5%)
CIE-LABlab(19.29, 3.87, -24.87)
CIE-LCHlch(19.29, 25.17, 278.83°)
OKLaboklab(30.53% -0.0163 -0.0709)
OKLCHoklch(30.53% 0.073 257)
XYZxyz(2.8865, 2.8167, 8.5735)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152F53 #533915
analogous
#154E53 #152F53 #1A1553
triadic
#152F53 #53152F #2F5315
tetradic
#152F53 #53154E #533915 #15531A
square
#152F53 #53154E #533915 #15531A
split-complementary
#152F53 #531A15 #4E5315
monochromatic
#060E18 #091322 #152F53 #214B84 #2E66B5

Accessibility & contrast

On white

13.43
#152F53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #152F53
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152F53#FFFFFF#000000##FFFFFF
##152F531.0013.431.5613.43
#FFFFFF13.431.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3254
Deuteranopia (green-blind)
#152C52
Tritanopia (blue-blind)
#00373D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #152f53;
/* rgb */ color: rgb(21, 47, 83);
/* oklch */ color: oklch(30.5% 0.073 257.0);
Tailwind
colors: {
  custom: {
    50: '#5b6783',
    500: '#152f53',
    950: '#000000',
  },
}
SCSS
$custom: #152f53;
$custom-light: #5b6783;
$custom-dark: #000000;
JSON
{
  "hex": "#152f53",
  "rgb": {
    "r": 21,
    "g": 47,
    "b": 83
  },
  "hsl": {
    "h": 214.839,
    "s": 59.615,
    "l": 20.392
  },
  "oklch": {
    "l": 0.30526,
    "c": 0.07272,
    "h": 257
  },
  "luminance": 0.02817
}

Semantic roles & 50–950 ramp

primary
#152F53
secondary
#8B6839
accent
#A145E3
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04060A
muted
#797A7C

Preview Lab

Preview with #152F53

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

Preview Lab → · Contrast checker → · Palette generator →

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