#152A4A#152A4A

#152A4A is a dark, moderate blue. Relative luminance 0.023; OKLCH L 28.6% C 0.065 H 258.6°. Best body text is #FFFFFF at 14.36:1 contrast (WCAG AA passes).

Color values

HEX#152A4A
RGBrgb(21, 42, 74)
HSLhsl(216, 56%, 19%)
HSVhsv(216, 72%, 29%)
CMYKcmyk(71.6%, 43.2%, 0%, 71%)
CIE-LABlab(17.03, 3.74, -22.39)
CIE-LCHlch(17.03, 22.70, 279.49°)
OKLaboklab(28.58% -0.0128 -0.0637)
OKLCHoklch(28.58% 0.065 258.6)
XYZxyz(2.3728, 2.3095, 6.7980)
Luminance0.0231 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152A4A #4A3515
analogous
#15444A #152A4A #1A154A
triadic
#152A4A #4A152A #2A4A15
tetradic
#152A4A #4A1544 #4A3515 #154A1A
square
#152A4A #4A1544 #4A3515 #154A1A
split-complementary
#152A4A #4A1A15 #444A15
monochromatic
#070E18 #070F1A #152A4A #23457A #3060A9

Accessibility & contrast

On white

14.36
#152A4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#152A4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152A4A
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152A4A#FFFFFF#000000##FFFFFF
##152A4A1.0014.361.4614.36
#FFFFFF14.361.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2D4B
Deuteranopia (green-blind)
#142849
Tritanopia (blue-blind)
#003136
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #152a4a;
/* rgb */ color: rgb(21, 42, 74);
/* oklch */ color: oklch(28.6% 0.065 258.6);
Tailwind
colors: {
  custom: {
    50: '#59637d',
    500: '#152a4a',
    950: '#000000',
  },
}
SCSS
$custom: #152a4a;
$custom-light: #59637d;
$custom-dark: #000000;
JSON
{
  "hex": "#152a4a",
  "rgb": {
    "r": 21,
    "g": 42,
    "b": 74
  },
  "hsl": {
    "h": 216.226,
    "s": 55.789,
    "l": 18.627
  },
  "oklch": {
    "l": 0.28582,
    "c": 0.06495,
    "h": 258.6
  },
  "luminance": 0.0231
}

Semantic roles & 50–950 ramp

primary
#152A4A
secondary
#826539
accent
#A449DF
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#040509
muted
#79797B

Preview Lab

Preview with #152A4A

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

Preview Lab → · Contrast checker → · Palette generator →

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