#111871#111871

#111871 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.3% C 0.148 H 269.2°. Best body text is #FFFFFF at 15.08:1 contrast (WCAG AA passes).

Color values

HEX#111871
RGBrgb(17, 24, 113)
HSLhsl(236, 74%, 25%)
HSVhsv(236, 85%, 44%)
CMYKcmyk(85%, 78.8%, 0%, 55.7%)
CIE-LABlab(15.30, 32.03, -51.16)
CIE-LCHlch(15.30, 60.36, 302.05°)
OKLaboklab(28.33% -0.0021 -0.1482)
OKLCHoklch(28.33% 0.148 269.2)
XYZxyz(3.5374, 1.9643, 15.8123)
Luminance0.0197 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#111871 #716A11
analogous
#114871 #111871 #3A1171
triadic
#111871 #711118 #187111
tetradic
#111871 #711148 #716A11 #11713A
square
#111871 #711148 #716A11 #11713A
split-complementary
#111871 #713A11 #487111
monochromatic
#04061B #090D3C #111871 #1923A6 #212FDB

Accessibility & contrast

On white

15.08
#111871 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#111871 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #111871
15.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##111871#FFFFFF#000000##FFFFFF
##1118711.0015.081.3915.08
#FFFFFF15.081.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.081.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: #111871;
/* rgb */ color: rgb(17, 24, 113);
/* oklch */ color: oklch(28.3% 0.148 269.2);
Tailwind
colors: {
  custom: {
    50: '#64569b',
    500: '#111871',
    950: '#000000',
  },
}
SCSS
$custom: #111871;
$custom-light: #64569b;
$custom-dark: #000000;
JSON
{
  "hex": "#111871",
  "rgb": {
    "r": 17,
    "g": 24,
    "b": 113
  },
  "hsl": {
    "h": 235.625,
    "s": 73.846,
    "l": 25.49
  },
  "oklch": {
    "l": 0.28326,
    "c": 0.14826,
    "h": 269.2
  },
  "luminance": 0.01965
}

Semantic roles & 50–950 ramp

primary
#111871
secondary
#A8A036
accent
#E337F1
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030E
muted
#7A787E

Preview Lab

Preview with #111871

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

Preview Lab → · Contrast checker → · Palette generator →

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