#112171#112171

#112171 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 29.9% C 0.138 H 267.5°. Best body text is #FFFFFF at 14.19:1 contrast (WCAG AA passes).

Color values

HEX#112171
RGBrgb(17, 33, 113)
HSLhsl(230, 74%, 25%)
HSVhsv(230, 85%, 44%)
CMYKcmyk(85%, 70.8%, 0%, 55.7%)
CIE-LABlab(17.45, 26.09, -47.61)
CIE-LCHlch(17.45, 54.29, 298.72°)
OKLaboklab(29.88% -0.0059 -0.1379)
OKLCHoklch(29.88% 0.138 267.5)
XYZxyz(3.7546, 2.3987, 15.8847)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112171 #716111
analogous
#115171 #112171 #311171
triadic
#112171 #711121 #217111
tetradic
#112171 #711151 #716111 #117131
square
#112171 #711151 #716111 #117131
split-complementary
#112171 #713111 #517111
monochromatic
#04081B #09113C #112171 #1931A6 #2140DB

Accessibility & contrast

On white

14.19
#112171 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#112171 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #112171
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112171#FFFFFF#000000##FFFFFF
##1121711.0014.191.4814.19
#FFFFFF14.191.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F73
Deuteranopia (green-blind)
#002670
Tritanopia (blue-blind)
#003746
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #112171;
/* rgb */ color: rgb(17, 33, 113);
/* oklch */ color: oklch(29.9% 0.138 267.5);
Tailwind
colors: {
  custom: {
    50: '#635c9b',
    500: '#112171',
    950: '#000000',
  },
}
SCSS
$custom: #112171;
$custom-light: #635c9b;
$custom-dark: #000000;
JSON
{
  "hex": "#112171",
  "rgb": {
    "r": 17,
    "g": 33,
    "b": 113
  },
  "hsl": {
    "h": 230,
    "s": 73.846,
    "l": 25.49
  },
  "oklch": {
    "l": 0.29877,
    "c": 0.13804,
    "h": 267.5
  },
  "luminance": 0.02399
}

Semantic roles & 50–950 ramp

primary
#112171
secondary
#A89536
accent
#D237F1
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #112171

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

Preview Lab → · Contrast checker → · Palette generator →

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