#152E4D#152E4D

#152E4D is a dark, moderate cyan. Relative luminance 0.026; OKLCH L 29.8% C 0.065 H 254.9°. Best body text is #FFFFFF at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#152E4D
RGBrgb(21, 46, 77)
HSLhsl(213, 57%, 19%)
HSVhsv(213, 73%, 30%)
CMYKcmyk(72.7%, 40.3%, 0%, 69.8%)
CIE-LABlab(18.58, 2.09, -21.97)
CIE-LCHlch(18.58, 22.07, 275.44°)
OKLaboklab(29.85% -0.0168 -0.0624)
OKLCHoklch(29.85% 0.065 254.9)
XYZxyz(2.6253, 2.6490, 7.3927)
Luminance0.0265 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152E4D #4D3415
analogous
#154A4D #152E4D #18154D
triadic
#152E4D #4D152E #2E4D15
tetradic
#152E4D #4D154A #4D3415 #154D18
square
#152E4D #4D154A #4D3415 #154D18
split-complementary
#152E4D #4D1815 #4A4D15
monochromatic
#070E18 #08111D #152E4D #224B7D #2F67AD

Accessibility & contrast

On white

13.73
#152E4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#152E4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152E4D
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152E4D#FFFFFF#000000##FFFFFF
##152E4D1.0013.731.5313.73
#FFFFFF13.731.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20304E
Deuteranopia (green-blind)
#182B4C
Tritanopia (blue-blind)
#003539
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #152e4d;
/* rgb */ color: rgb(21, 46, 77);
/* oklch */ color: oklch(29.8% 0.065 254.9);
Tailwind
colors: {
  custom: {
    50: '#5a667f',
    500: '#152e4d',
    950: '#000000',
  },
}
SCSS
$custom: #152e4d;
$custom-light: #5a667f;
$custom-dark: #000000;
JSON
{
  "hex": "#152e4d",
  "rgb": {
    "r": 21,
    "g": 46,
    "b": 77
  },
  "hsl": {
    "h": 213.214,
    "s": 57.143,
    "l": 19.216
  },
  "oklch": {
    "l": 0.29846,
    "c": 0.06463,
    "h": 254.9
  },
  "luminance": 0.02649
}

Semantic roles & 50–950 ramp

primary
#152E4D
secondary
#856339
accent
#9C47E0
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04050A
muted
#797A7C

Preview Lab

Preview with #152E4D

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

Preview Lab → · Contrast checker → · Palette generator →

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