#152F51#152F51

#152F51 is a dark, moderate cyan. Relative luminance 0.028; OKLCH L 30.4% C 0.070 H 256.0°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#152F51
RGBrgb(21, 47, 81)
HSLhsl(214, 59%, 20%)
HSVhsv(214, 74%, 32%)
CMYKcmyk(74.1%, 42%, 0%, 68.2%)
CIE-LABlab(19.17, 3.03, -23.73)
CIE-LCHlch(19.17, 23.93, 277.28°)
OKLaboklab(30.39% -0.0168 -0.0675)
OKLCHoklch(30.39% 0.07 256)
XYZxyz(2.8104, 2.7863, 8.1727)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152F51 #513715
analogous
#154D51 #152F51 #191551
triadic
#152F51 #51152F #2F5115
tetradic
#152F51 #51154D #513715 #155119
square
#152F51 #51154D #513715 #155119
split-complementary
#152F51 #511915 #4D5115
monochromatic
#060E18 #081320 #152F51 #224B82 #2E67B2

Accessibility & contrast

On white

13.48
#152F51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #152F51
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152F51#FFFFFF#000000##FFFFFF
##152F511.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203252
Deuteranopia (green-blind)
#172C50
Tritanopia (blue-blind)
#00373C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #152f51;
/* rgb */ color: rgb(21, 47, 81);
/* oklch */ color: oklch(30.4% 0.070 256.0);
Tailwind
colors: {
  custom: {
    50: '#5a6782',
    500: '#152f51',
    950: '#000000',
  },
}
SCSS
$custom: #152f51;
$custom-light: #5a6782;
$custom-dark: #000000;
JSON
{
  "hex": "#152f51",
  "rgb": {
    "r": 21,
    "g": 47,
    "b": 81
  },
  "hsl": {
    "h": 214,
    "s": 58.824,
    "l": 20
  },
  "oklch": {
    "l": 0.30386,
    "c": 0.06961,
    "h": 256
  },
  "luminance": 0.02787
}

Semantic roles & 50–950 ramp

primary
#152F51
secondary
#896639
accent
#9E46E2
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04060A
muted
#797A7C

Preview Lab

Preview with #152F51

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

Preview Lab → · Contrast checker → · Palette generator →

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