#111171#111171

#111171 is a dark, vivid blue. Relative luminance 0.017; OKLCH L 27.3% C 0.155 H 270.0°. Best body text is #FFFFFF at 15.64:1 contrast (WCAG AA passes).

Color values

HEX#111171
RGBrgb(17, 17, 113)
HSLhsl(240, 74%, 25%)
HSVhsv(240, 85%, 44%)
CMYKcmyk(85%, 85%, 0%, 55.7%)
CIE-LABlab(13.90, 36.06, -53.49)
CIE-LCHlch(13.90, 64.51, 303.99°)
OKLaboklab(27.34% -0.0001 -0.1549)
OKLCHoklch(27.34% 0.155 270)
XYZxyz(3.4112, 1.7119, 15.7702)
Luminance0.0171 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#111171 #717111
analogous
#114171 #111171 #411171
triadic
#111171 #711111 #117111
tetradic
#111171 #711141 #717111 #117141
square
#111171 #711141 #717111 #117141
split-complementary
#111171 #714111 #417111
monochromatic
#04041B #09093C #111171 #1919A6 #2121DB

Accessibility & contrast

On white

15.64
#111171 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#111171 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #111171
15.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##111171#FFFFFF#000000##FFFFFF
##1111711.0015.641.3415.64
#FFFFFF15.641.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002874
Deuteranopia (green-blind)
#001E6F
Tritanopia (blue-blind)
#003042
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #111171;
/* rgb */ color: rgb(17, 17, 113);
/* oklch */ color: oklch(27.3% 0.155 270.0);
Tailwind
colors: {
  custom: {
    50: '#65529b',
    500: '#111171',
    950: '#000000',
  },
}
SCSS
$custom: #111171;
$custom-light: #65529b;
$custom-dark: #000000;
JSON
{
  "hex": "#111171",
  "rgb": {
    "r": 17,
    "g": 17,
    "b": 113
  },
  "hsl": {
    "h": 240,
    "s": 73.846,
    "l": 25.49
  },
  "oklch": {
    "l": 0.2734,
    "c": 0.15486,
    "h": 270
  },
  "luminance": 0.01712
}

Semantic roles & 50–950 ramp

primary
#111171
secondary
#A8A836
accent
#F137F1
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #111171

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

Preview Lab → · Contrast checker → · Palette generator →

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