#111771#111771

#111771 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.2% C 0.149 H 269.3°. Best body text is #FFFFFF at 15.16:1 contrast (WCAG AA passes).

Color values

HEX#111771
RGBrgb(17, 23, 113)
HSLhsl(236, 74%, 25%)
HSVhsv(236, 85%, 44%)
CMYKcmyk(85%, 79.6%, 0%, 55.7%)
CIE-LABlab(15.08, 32.64, -51.52)
CIE-LCHlch(15.08, 60.99, 302.36°)
OKLaboklab(28.17% -0.0018 -0.1493)
OKLCHoklch(28.17% 0.149 269.3)
XYZxyz(3.5172, 1.9238, 15.8055)
Luminance0.0192 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#111771 #716B11
analogous
#114771 #111771 #3B1171
triadic
#111771 #711117 #177111
tetradic
#111771 #711147 #716B11 #11713B
square
#111771 #711147 #716B11 #11713B
split-complementary
#111771 #713B11 #477111
monochromatic
#04051B #090C3C #111771 #1922A6 #212DDB

Accessibility & contrast

On white

15.16
#111771 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#111771 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #111771
15.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##111771#FFFFFF#000000##FFFFFF
##1117711.0015.161.3815.16
#FFFFFF15.161.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B74
Deuteranopia (green-blind)
#00216F
Tritanopia (blue-blind)
#003243
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #111771;
/* rgb */ color: rgb(17, 23, 113);
/* oklch */ color: oklch(28.2% 0.149 269.3);
Tailwind
colors: {
  custom: {
    50: '#64559b',
    500: '#111771',
    950: '#000000',
  },
}
SCSS
$custom: #111771;
$custom-light: #64559b;
$custom-dark: #000000;
JSON
{
  "hex": "#111771",
  "rgb": {
    "r": 17,
    "g": 23,
    "b": 113
  },
  "hsl": {
    "h": 236.25,
    "s": 73.846,
    "l": 25.49
  },
  "oklch": {
    "l": 0.28172,
    "c": 0.14927,
    "h": 269.3
  },
  "luminance": 0.01924
}

Semantic roles & 50–950 ramp

primary
#111771
secondary
#A8A136
accent
#E537F1
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030E
muted
#7A787E

Preview Lab

Preview with #111771

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

Preview Lab → · Contrast checker → · Palette generator →

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