#152B4D#152B4D

#152B4D is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.1% C 0.068 H 258.8°. Best body text is #FFFFFF at 14.15:1 contrast (WCAG AA passes).

Color values

HEX#152B4D
RGBrgb(21, 43, 77)
HSLhsl(216, 57%, 19%)
HSVhsv(216, 73%, 30%)
CMYKcmyk(72.7%, 44.2%, 0%, 69.8%)
CIE-LABlab(17.57, 4.26, -23.58)
CIE-LCHlch(17.57, 23.96, 280.24°)
OKLaboklab(29.06% -0.0132 -0.0671)
OKLCHoklch(29.06% 0.068 258.8)
XYZxyz(2.5122, 2.4228, 7.3550)
Luminance0.0242 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152B4D #4D3715
analogous
#15474D #152B4D #1B154D
triadic
#152B4D #4D152B #2B4D15
tetradic
#152B4D #4D1547 #4D3715 #154D1B
square
#152B4D #4D1547 #4D3715 #154D1B
split-complementary
#152B4D #4D1B15 #474D15
monochromatic
#070D18 #08101D #152B4D #22467D #2F61AD

Accessibility & contrast

On white

14.15
#152B4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#152B4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152B4D
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152B4D#FFFFFF#000000##FFFFFF
##152B4D1.0014.151.4814.15
#FFFFFF14.151.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2E4E
Deuteranopia (green-blind)
#13294C
Tritanopia (blue-blind)
#003338
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #152b4d;
/* rgb */ color: rgb(21, 43, 77);
/* oklch */ color: oklch(29.1% 0.068 258.8);
Tailwind
colors: {
  custom: {
    50: '#5a637f',
    500: '#152b4d',
    950: '#000000',
  },
}
SCSS
$custom: #152b4d;
$custom-light: #5a637f;
$custom-dark: #000000;
JSON
{
  "hex": "#152b4d",
  "rgb": {
    "r": 21,
    "g": 43,
    "b": 77
  },
  "hsl": {
    "h": 216.429,
    "s": 57.143,
    "l": 19.216
  },
  "oklch": {
    "l": 0.29058,
    "c": 0.06844,
    "h": 258.8
  },
  "luminance": 0.02423
}

Semantic roles & 50–950 ramp

primary
#152B4D
secondary
#856739
accent
#A447E0
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#04050A
muted
#79797C

Preview Lab

Preview with #152B4D

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

Preview Lab → · Contrast checker → · Palette generator →

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