#111872#111872

#111872 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.4% C 0.150 H 269.1°. Best body text is #FFFFFF at 15.03:1 contrast (WCAG AA passes).

Color values

HEX#111872
RGBrgb(17, 24, 114)
HSLhsl(236, 74%, 26%)
HSVhsv(236, 85%, 45%)
CMYKcmyk(85.1%, 78.9%, 0%, 55.3%)
CIE-LABlab(15.42, 32.40, -51.61)
CIE-LCHlch(15.42, 60.94, 302.12°)
OKLaboklab(28.45% -0.0023 -0.1495)
OKLCHoklch(28.45% 0.15 269.1)
XYZxyz(3.5940, 1.9869, 16.1104)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#111872 #726B11
analogous
#114872 #111872 #3A1172
triadic
#111872 #721118 #187211
tetradic
#111872 #721148 #726B11 #11723A
square
#111872 #721148 #726B11 #11723A
split-complementary
#111872 #723A11 #487211
monochromatic
#04061B #090D3D #111872 #1923A7 #212EDD

Accessibility & contrast

On white

15.03
#111872 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#111872 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #111872
15.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##111872#FFFFFF#000000##FFFFFF
##1118721.0015.031.4015.03
#FFFFFF15.031.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B75
Deuteranopia (green-blind)
#002270
Tritanopia (blue-blind)
#003344
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #111872;
/* rgb */ color: rgb(17, 24, 114);
/* oklch */ color: oklch(28.4% 0.150 269.1);
Tailwind
colors: {
  custom: {
    50: '#64569c',
    500: '#111872',
    950: '#000000',
  },
}
SCSS
$custom: #111872;
$custom-light: #64569c;
$custom-dark: #000000;
JSON
{
  "hex": "#111872",
  "rgb": {
    "r": 17,
    "g": 24,
    "b": 114
  },
  "hsl": {
    "h": 235.67,
    "s": 74.046,
    "l": 25.686
  },
  "oklch": {
    "l": 0.28446,
    "c": 0.14956,
    "h": 269.1
  },
  "luminance": 0.01987
}

Semantic roles & 50–950 ramp

primary
#111872
secondary
#A9A136
accent
#E337F1
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #111872

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

Preview Lab → · Contrast checker → · Palette generator →

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