#152D4E#152D4E

#152D4E is a dark, moderate cyan. Relative luminance 0.026; OKLCH L 29.7% C 0.067 H 256.9°. Best body text is #FFFFFF at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#152D4E
RGBrgb(21, 45, 78)
HSLhsl(215, 58%, 19%)
HSVhsv(215, 73%, 31%)
CMYKcmyk(73.1%, 42.3%, 0%, 69.4%)
CIE-LABlab(18.30, 3.23, -23.09)
CIE-LCHlch(18.30, 23.31, 277.95°)
OKLaboklab(29.65% -0.0153 -0.0657)
OKLCHoklch(29.65% 0.067 256.9)
XYZxyz(2.6223, 2.5860, 7.5672)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152D4E #4E3615
analogous
#154A4E #152D4E #1A154E
triadic
#152D4E #4E152D #2D4E15
tetradic
#152D4E #4E154A #4E3615 #154E1A
square
#152D4E #4E154A #4E3615 #154E1A
split-complementary
#152D4E #4E1A15 #4A4E15
monochromatic
#060E18 #08111E #152D4E #22497E #2F65AE

Accessibility & contrast

On white

13.84
#152D4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#152D4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152D4E
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152D4E#FFFFFF#000000##FFFFFF
##152D4E1.0013.841.5213.84
#FFFFFF13.841.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E304F
Deuteranopia (green-blind)
#162A4D
Tritanopia (blue-blind)
#003539
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #152d4e;
/* rgb */ color: rgb(21, 45, 78);
/* oklch */ color: oklch(29.7% 0.067 256.9);
Tailwind
colors: {
  custom: {
    50: '#5a6580',
    500: '#152d4e',
    950: '#000000',
  },
}
SCSS
$custom: #152d4e;
$custom-light: #5a6580;
$custom-dark: #000000;
JSON
{
  "hex": "#152d4e",
  "rgb": {
    "r": 21,
    "g": 45,
    "b": 78
  },
  "hsl": {
    "h": 214.737,
    "s": 57.576,
    "l": 19.412
  },
  "oklch": {
    "l": 0.29652,
    "c": 0.06744,
    "h": 256.9
  },
  "luminance": 0.02586
}

Semantic roles & 50–950 ramp

primary
#152D4E
secondary
#866539
accent
#A047E1
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04050A
muted
#797A7C

Preview Lab

Preview with #152D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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