#152B4A#152B4A

#152B4A is a dark, moderate blue. Relative luminance 0.024; OKLCH L 28.8% C 0.064 H 257.2°. Best body text is #FFFFFF at 14.22:1 contrast (WCAG AA passes).

Color values

HEX#152B4A
RGBrgb(21, 43, 74)
HSLhsl(215, 56%, 19%)
HSVhsv(215, 72%, 29%)
CMYKcmyk(71.6%, 41.9%, 0%, 71%)
CIE-LABlab(17.37, 3.01, -21.85)
CIE-LCHlch(17.37, 22.05, 277.85°)
OKLaboklab(28.85% -0.0141 -0.0621)
OKLCHoklch(28.85% 0.064 257.2)
XYZxyz(2.4087, 2.3814, 6.8099)
Luminance0.0238 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152B4A #4A3415
analogous
#15454A #152B4A #19154A
triadic
#152B4A #4A152B #2B4A15
tetradic
#152B4A #4A1545 #4A3415 #154A19
square
#152B4A #4A1545 #4A3415 #154A19
split-complementary
#152B4A #4A1915 #454A15
monochromatic
#070E18 #070F1A #152B4A #23477A #3062A9

Accessibility & contrast

On white

14.22
#152B4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #152B4A
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152B4A#FFFFFF#000000##FFFFFF
##152B4A1.0014.221.4814.22
#FFFFFF14.221.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2D4B
Deuteranopia (green-blind)
#162849
Tritanopia (blue-blind)
#003237
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #152b4a;
/* rgb */ color: rgb(21, 43, 74);
/* oklch */ color: oklch(28.8% 0.064 257.2);
Tailwind
colors: {
  custom: {
    50: '#59647c',
    500: '#152b4a',
    950: '#000000',
  },
}
SCSS
$custom: #152b4a;
$custom-light: #59647c;
$custom-dark: #000000;
JSON
{
  "hex": "#152b4a",
  "rgb": {
    "r": 21,
    "g": 43,
    "b": 74
  },
  "hsl": {
    "h": 215.094,
    "s": 55.789,
    "l": 18.627
  },
  "oklch": {
    "l": 0.28846,
    "c": 0.06365,
    "h": 257.2
  },
  "luminance": 0.02382
}

Semantic roles & 50–950 ramp

primary
#152B4A
secondary
#826439
accent
#A149DF
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#040509
muted
#79797B

Preview Lab

Preview with #152B4A

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

Preview Lab → · Contrast checker → · Palette generator →

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