#152D4C#152D4C

#152D4C is a dark, moderate cyan. Relative luminance 0.026; OKLCH L 29.5% C 0.064 H 255.7°. Best body text is #FFFFFF at 13.89:1 contrast (WCAG AA passes).

Color values

HEX#152D4C
RGBrgb(21, 45, 76)
HSLhsl(214, 57%, 19%)
HSVhsv(214, 72%, 30%)
CMYKcmyk(72.4%, 40.8%, 0%, 70.2%)
CIE-LABlab(18.18, 2.40, -21.93)
CIE-LCHlch(18.18, 22.06, 276.24°)
OKLaboklab(29.51% -0.0159 -0.0623)
OKLCHoklch(29.51% 0.064 255.7)
XYZxyz(2.5517, 2.5578, 7.1953)
Luminance0.0256 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152D4C #4C3415
analogous
#15494C #152D4C #19154C
triadic
#152D4C #4C152D #2D4C15
tetradic
#152D4C #4C1549 #4C3415 #154C19
square
#152D4C #4C1549 #4C3415 #154C19
split-complementary
#152D4C #4C1915 #494C15
monochromatic
#070E18 #08111C #152D4C #22497C #2F66AC

Accessibility & contrast

On white

13.89
#152D4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #152D4C
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152D4C#FFFFFF#000000##FFFFFF
##152D4C1.0013.891.5113.89
#FFFFFF13.891.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2F4D
Deuteranopia (green-blind)
#182A4B
Tritanopia (blue-blind)
#003438
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #152d4c;
/* rgb */ color: rgb(21, 45, 76);
/* oklch */ color: oklch(29.5% 0.064 255.7);
Tailwind
colors: {
  custom: {
    50: '#59657e',
    500: '#152d4c',
    950: '#000000',
  },
}
SCSS
$custom: #152d4c;
$custom-light: #59657e;
$custom-dark: #000000;
JSON
{
  "hex": "#152d4c",
  "rgb": {
    "r": 21,
    "g": 45,
    "b": 76
  },
  "hsl": {
    "h": 213.818,
    "s": 56.701,
    "l": 19.02
  },
  "oklch": {
    "l": 0.29513,
    "c": 0.06429,
    "h": 255.7
  },
  "luminance": 0.02558
}

Semantic roles & 50–950 ramp

primary
#152D4C
secondary
#846339
accent
#9E48E0
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04050A
muted
#797A7C

Preview Lab

Preview with #152D4C

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

Preview Lab → · Contrast checker → · Palette generator →

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