#153173#153173

#153173 is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.6% C 0.119 H 263.8°. Best body text is #FFFFFF at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#153173
RGBrgb(21, 49, 115)
HSLhsl(222, 69%, 27%)
HSVhsv(222, 82%, 45%)
CMYKcmyk(81.7%, 57.4%, 0%, 54.9%)
CIE-LABlab(22.28, 15.90, -41.00)
CIE-LCHlch(22.28, 43.98, 291.20°)
OKLaboklab(33.57% -0.0128 -0.1183)
OKLCHoklch(33.57% 0.119 263.8)
XYZxyz(4.5010, 3.5933, 16.6727)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#153173 #735715
analogous
#156073 #153173 #281573
triadic
#153173 #731531 #317315
tetradic
#153173 #731560 #735715 #157328
square
#153173 #731560 #735715 #157328
split-complementary
#153173 #732815 #607315
monochromatic
#050B1A #0C1B3F #153173 #1E47A7 #2A5ED8

Accessibility & contrast

On white

12.22
#153173 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#153173 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #153173
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##153173#FFFFFF#000000##FFFFFF
##1531731.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A75
Deuteranopia (green-blind)
#003172
Tritanopia (blue-blind)
#00414D
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #153173;
/* rgb */ color: rgb(21, 49, 115);
/* oklch */ color: oklch(33.6% 0.119 263.8);
Tailwind
colors: {
  custom: {
    50: '#63689c',
    500: '#153173',
    950: '#000000',
  },
}
SCSS
$custom: #153173;
$custom-light: #63689c;
$custom-dark: #000000;
JSON
{
  "hex": "#153173",
  "rgb": {
    "r": 21,
    "g": 49,
    "b": 115
  },
  "hsl": {
    "h": 222.128,
    "s": 69.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.33566,
    "c": 0.11896,
    "h": 263.8
  },
  "luminance": 0.03594
}

Semantic roles & 50–950 ramp

primary
#153173
secondary
#A9883B
accent
#B73CEC
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #153173

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

Preview Lab → · Contrast checker → · Palette generator →

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