#152D4D#152D4D

#152D4D is a dark, moderate cyan. Relative luminance 0.026; OKLCH L 29.6% C 0.066 H 256.3°. Best body text is #FFFFFF at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#152D4D
RGBrgb(21, 45, 77)
HSLhsl(214, 57%, 19%)
HSVhsv(214, 73%, 30%)
CMYKcmyk(72.7%, 41.6%, 0%, 69.8%)
CIE-LABlab(18.24, 2.81, -22.51)
CIE-LCHlch(18.24, 22.68, 277.12°)
OKLaboklab(29.58% -0.0156 -0.064)
OKLCHoklch(29.58% 0.066 256.3)
XYZxyz(2.5867, 2.5718, 7.3798)
Luminance0.0257 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152D4D #4D3515
analogous
#15494D #152D4D #19154D
triadic
#152D4D #4D152D #2D4D15
tetradic
#152D4D #4D1549 #4D3515 #154D19
square
#152D4D #4D1549 #4D3515 #154D19
split-complementary
#152D4D #4D1915 #494D15
monochromatic
#070E18 #08111D #152D4D #22497D #2F65AD

Accessibility & contrast

On white

13.87
#152D4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#152D4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152D4D
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152D4D#FFFFFF#000000##FFFFFF
##152D4D1.0013.871.5113.87
#FFFFFF13.871.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2F4E
Deuteranopia (green-blind)
#172A4C
Tritanopia (blue-blind)
#003439
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #152d4d;
/* rgb */ color: rgb(21, 45, 77);
/* oklch */ color: oklch(29.6% 0.066 256.3);
Tailwind
colors: {
  custom: {
    50: '#5a657f',
    500: '#152d4d',
    950: '#000000',
  },
}
SCSS
$custom: #152d4d;
$custom-light: #5a657f;
$custom-dark: #000000;
JSON
{
  "hex": "#152d4d",
  "rgb": {
    "r": 21,
    "g": 45,
    "b": 77
  },
  "hsl": {
    "h": 214.286,
    "s": 57.143,
    "l": 19.216
  },
  "oklch": {
    "l": 0.29582,
    "c": 0.06586,
    "h": 256.3
  },
  "luminance": 0.02572
}

Semantic roles & 50–950 ramp

primary
#152D4D
secondary
#856439
accent
#9F47E0
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04050A
muted
#797A7C

Preview Lab

Preview with #152D4D

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

Preview Lab → · Contrast checker → · Palette generator →

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