#152973#152973

#152973 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 31.8% C 0.130 H 266.9°. Best body text is #FFFFFF at 13.15:1 contrast (WCAG AA passes).

Color values

HEX#152973
RGBrgb(21, 41, 115)
HSLhsl(227, 69%, 27%)
HSVhsv(227, 82%, 45%)
CMYKcmyk(81.7%, 64.3%, 0%, 54.9%)
CIE-LABlab(19.97, 21.65, -44.76)
CIE-LCHlch(19.97, 49.72, 295.81°)
OKLaboklab(31.84% -0.0071 -0.1294)
OKLCHoklch(31.84% 0.13 266.9)
XYZxyz(4.1956, 2.9826, 16.5709)
Luminance0.0298 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152973 #735F15
analogous
#155873 #152973 #301573
triadic
#152973 #731529 #297315
tetradic
#152973 #731558 #735F15 #157330
square
#152973 #731558 #735F15 #157330
split-complementary
#152973 #733015 #587315
monochromatic
#05091A #0C173F #152973 #1E3BA7 #2A4FD8

Accessibility & contrast

On white

13.15
#152973 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#152973 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152973
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152973#FFFFFF#000000##FFFFFF
##1529731.0013.151.6013.15
#FFFFFF13.151.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003575
Deuteranopia (green-blind)
#002C72
Tritanopia (blue-blind)
#003C49
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #152973;
/* rgb */ color: rgb(21, 41, 115);
/* oklch */ color: oklch(31.8% 0.130 266.9);
Tailwind
colors: {
  custom: {
    50: '#64629c',
    500: '#152973',
    950: '#000000',
  },
}
SCSS
$custom: #152973;
$custom-light: #64629c;
$custom-dark: #000000;
JSON
{
  "hex": "#152973",
  "rgb": {
    "r": 21,
    "g": 41,
    "b": 115
  },
  "hsl": {
    "h": 227.234,
    "s": 69.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.31839,
    "c": 0.12961,
    "h": 266.9
  },
  "luminance": 0.02983
}

Semantic roles & 50–950 ramp

primary
#152973
secondary
#A9923B
accent
#C63CEC
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #152973

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

Preview Lab → · Contrast checker → · Palette generator →

#152973 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva