#152C4D#152C4D

#152C4D is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.3% C 0.067 H 257.6°. Best body text is #FFFFFF at 14.01:1 contrast (WCAG AA passes).

Color values

HEX#152C4D
RGBrgb(21, 44, 77)
HSLhsl(215, 57%, 19%)
HSVhsv(215, 73%, 30%)
CMYKcmyk(72.7%, 42.9%, 0%, 69.8%)
CIE-LABlab(17.90, 3.53, -23.05)
CIE-LCHlch(17.90, 23.31, 278.71°)
OKLaboklab(29.32% -0.0144 -0.0656)
OKLCHoklch(29.32% 0.067 257.6)
XYZxyz(2.5490, 2.4964, 7.3673)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152C4D #4D3615
analogous
#15484D #152C4D #1A154D
triadic
#152C4D #4D152C #2C4D15
tetradic
#152C4D #4D1548 #4D3615 #154D1A
square
#152C4D #4D1548 #4D3615 #154D1A
split-complementary
#152C4D #4D1A15 #484D15
monochromatic
#070E18 #08111D #152C4D #22477D #2F63AD

Accessibility & contrast

On white

14.01
#152C4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#152C4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152C4D
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152C4D#FFFFFF#000000##FFFFFF
##152C4D1.0014.011.5014.01
#FFFFFF14.011.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2F4E
Deuteranopia (green-blind)
#15294C
Tritanopia (blue-blind)
#003438
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #152c4d;
/* rgb */ color: rgb(21, 44, 77);
/* oklch */ color: oklch(29.3% 0.067 257.6);
Tailwind
colors: {
  custom: {
    50: '#5a647f',
    500: '#152c4d',
    950: '#000000',
  },
}
SCSS
$custom: #152c4d;
$custom-light: #5a647f;
$custom-dark: #000000;
JSON
{
  "hex": "#152c4d",
  "rgb": {
    "r": 21,
    "g": 44,
    "b": 77
  },
  "hsl": {
    "h": 215.357,
    "s": 57.143,
    "l": 19.216
  },
  "oklch": {
    "l": 0.29319,
    "c": 0.06714,
    "h": 257.6
  },
  "luminance": 0.02497
}

Semantic roles & 50–950 ramp

primary
#152C4D
secondary
#856639
accent
#A247E0
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#04050A
muted
#79797C

Preview Lab

Preview with #152C4D

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

Preview Lab → · Contrast checker → · Palette generator →

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