#153170#153170

#153170 is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.3% C 0.115 H 263.4°. Best body text is #FFFFFF at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#153170
RGBrgb(21, 49, 112)
HSLhsl(222, 68%, 26%)
HSVhsv(222, 81%, 44%)
CMYKcmyk(81.2%, 56.3%, 0%, 56.1%)
CIE-LABlab(22.04, 14.64, -39.47)
CIE-LCHlch(22.04, 42.10, 290.35°)
OKLaboklab(33.31% -0.0131 -0.1138)
OKLCHoklch(33.31% 0.115 263.4)
XYZxyz(4.3312, 3.5254, 15.7783)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#153170 #705415
analogous
#155E70 #153170 #261570
triadic
#153170 #701531 #317015
tetradic
#153170 #70155E #705415 #157026
square
#153170 #70155E #705415 #157026
split-complementary
#153170 #702615 #5E7015
monochromatic
#050B1A #0B1A3C #153170 #1F48A4 #295ED7

Accessibility & contrast

On white

12.32
#153170 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #153170
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##153170#FFFFFF#000000##FFFFFF
##1531701.0012.321.7112.32
#FFFFFF12.321.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#013972
Deuteranopia (green-blind)
#00316F
Tritanopia (blue-blind)
#00404B
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #153170;
/* rgb */ color: rgb(21, 49, 112);
/* oklch */ color: oklch(33.3% 0.115 263.4);
Tailwind
colors: {
  custom: {
    50: '#62689a',
    500: '#153170',
    950: '#000000',
  },
}
SCSS
$custom: #153170;
$custom-light: #62689a;
$custom-dark: #000000;
JSON
{
  "hex": "#153170",
  "rgb": {
    "r": 21,
    "g": 49,
    "b": 112
  },
  "hsl": {
    "h": 221.538,
    "s": 68.421,
    "l": 26.078
  },
  "oklch": {
    "l": 0.33305,
    "c": 0.11452,
    "h": 263.4
  },
  "luminance": 0.03526
}

Semantic roles & 50–950 ramp

primary
#153170
secondary
#A6853B
accent
#B63DEB
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #153170

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

Preview Lab → · Contrast checker → · Palette generator →

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