#153172#153172

#153172 is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.5% C 0.117 H 263.7°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#153172
RGBrgb(21, 49, 114)
HSLhsl(222, 69%, 26%)
HSVhsv(222, 82%, 45%)
CMYKcmyk(81.6%, 57%, 0%, 55.3%)
CIE-LABlab(22.20, 15.48, -40.49)
CIE-LCHlch(22.20, 43.35, 290.92°)
OKLaboklab(33.48% -0.0129 -0.1168)
OKLCHoklch(33.48% 0.117 263.7)
XYZxyz(4.4438, 3.5704, 16.3713)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#153172 #725615
analogous
#156072 #153172 #271572
triadic
#153172 #721531 #317215
tetradic
#153172 #721560 #725615 #157227
square
#153172 #721560 #725615 #157227
split-complementary
#153172 #722715 #607215
monochromatic
#050B1A #0B1B3E #153172 #1F47A6 #2A5ED8

Accessibility & contrast

On white

12.25
#153172 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#153172 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #153172
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##153172#FFFFFF#000000##FFFFFF
##1531721.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A74
Deuteranopia (green-blind)
#003171
Tritanopia (blue-blind)
#00414C
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #153172;
/* rgb */ color: rgb(21, 49, 114);
/* oklch */ color: oklch(33.5% 0.117 263.7);
Tailwind
colors: {
  custom: {
    50: '#63689b',
    500: '#153172',
    950: '#000000',
  },
}
SCSS
$custom: #153172;
$custom-light: #63689b;
$custom-dark: #000000;
JSON
{
  "hex": "#153172",
  "rgb": {
    "r": 21,
    "g": 49,
    "b": 114
  },
  "hsl": {
    "h": 221.935,
    "s": 68.889,
    "l": 26.471
  },
  "oklch": {
    "l": 0.33478,
    "c": 0.11748,
    "h": 263.7
  },
  "luminance": 0.03571
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #153172

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

Preview Lab → · Contrast checker → · Palette generator →

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