#152A73#152A73

#152A73 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.0% C 0.128 H 266.5°. Best body text is #FFFFFF at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#152A73
RGBrgb(21, 42, 115)
HSLhsl(227, 69%, 27%)
HSVhsv(227, 82%, 45%)
CMYKcmyk(81.7%, 63.5%, 0%, 54.9%)
CIE-LABlab(20.25, 20.93, -44.30)
CIE-LCHlch(20.25, 49.00, 295.29°)
OKLaboklab(32.05% -0.0077 -0.1281)
OKLCHoklch(32.05% 0.128 266.5)
XYZxyz(4.2307, 3.0527, 16.5826)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152A73 #735E15
analogous
#155973 #152A73 #2F1573
triadic
#152A73 #73152A #2A7315
tetradic
#152A73 #731559 #735E15 #15732F
square
#152A73 #731559 #735E15 #15732F
split-complementary
#152A73 #732F15 #597315
monochromatic
#05091A #0C173F #152A73 #1E3DA7 #2A51D8

Accessibility & contrast

On white

13.04
#152A73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#152A73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152A73
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152A73#FFFFFF#000000##FFFFFF
##152A731.0013.041.6113.04
#FFFFFF13.041.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003575
Deuteranopia (green-blind)
#002D72
Tritanopia (blue-blind)
#003D4A
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #152a73;
/* rgb */ color: rgb(21, 42, 115);
/* oklch */ color: oklch(32.0% 0.128 266.5);
Tailwind
colors: {
  custom: {
    50: '#64639c',
    500: '#152a73',
    950: '#000000',
  },
}
SCSS
$custom: #152a73;
$custom-light: #64639c;
$custom-dark: #000000;
JSON
{
  "hex": "#152a73",
  "rgb": {
    "r": 21,
    "g": 42,
    "b": 115
  },
  "hsl": {
    "h": 226.596,
    "s": 69.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.32047,
    "c": 0.1283,
    "h": 266.5
  },
  "luminance": 0.03053
}

Semantic roles & 50–950 ramp

primary
#152A73
secondary
#A9903B
accent
#C53CEC
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #152A73

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

Preview Lab → · Contrast checker → · Palette generator →

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