#113171#113171

#113171 is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.2% C 0.117 H 262.2°. Best body text is #FFFFFF at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#113171
RGBrgb(17, 49, 113)
HSLhsl(220, 74%, 25%)
HSVhsv(220, 85%, 44%)
CMYKcmyk(85%, 56.6%, 0%, 55.7%)
CIE-LABlab(21.97, 14.62, -40.22)
CIE-LCHlch(21.97, 42.80, 289.97°)
OKLaboklab(33.24% -0.016 -0.116)
OKLCHoklch(33.24% 0.117 262.2)
XYZxyz(4.3090, 3.5075, 16.0695)
Luminance0.0351 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#113171 #715111
analogous
#116171 #113171 #211171
triadic
#113171 #711131 #317111
tetradic
#113171 #711161 #715111 #117121
square
#113171 #711161 #715111 #117121
split-complementary
#113171 #712111 #617111
monochromatic
#040C1B #091A3C #113171 #1948A6 #215FDB

Accessibility & contrast

On white

12.34
#113171 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#113171 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #113171
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##113171#FFFFFF#000000##FFFFFF
##1131711.0012.341.7012.34
#FFFFFF12.341.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003973
Deuteranopia (green-blind)
#003070
Tritanopia (blue-blind)
#00414C
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #113171;
/* rgb */ color: rgb(17, 49, 113);
/* oklch */ color: oklch(33.2% 0.117 262.2);
Tailwind
colors: {
  custom: {
    50: '#61689a',
    500: '#113171',
    950: '#000000',
  },
}
SCSS
$custom: #113171;
$custom-light: #61689a;
$custom-dark: #000000;
JSON
{
  "hex": "#113171",
  "rgb": {
    "r": 17,
    "g": 49,
    "b": 113
  },
  "hsl": {
    "h": 220,
    "s": 73.846,
    "l": 25.49
  },
  "oklch": {
    "l": 0.33241,
    "c": 0.11715,
    "h": 262.2
  },
  "luminance": 0.03508
}

Semantic roles & 50–950 ramp

primary
#113171
secondary
#A88236
accent
#B337F1
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #113171

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

Preview Lab → · Contrast checker → · Palette generator →

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