#111873#111873

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

Color values

HEX#111873
RGBrgb(17, 24, 115)
HSLhsl(236, 74%, 26%)
HSVhsv(236, 85%, 45%)
CMYKcmyk(85.2%, 79.1%, 0%, 54.9%)
CIE-LABlab(15.54, 32.77, -52.06)
CIE-LCHlch(15.54, 61.51, 302.19°)
OKLaboklab(28.57% -0.0024 -0.1508)
OKLCHoklch(28.57% 0.151 269.1)
XYZxyz(3.6513, 2.0098, 16.4118)
Luminance0.0201 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#111873 #736C11
analogous
#114973 #111873 #3B1173
triadic
#111873 #731118 #187311
tetradic
#111873 #731149 #736C11 #11733B
square
#111873 #731149 #736C11 #11733B
split-complementary
#111873 #733B11 #497311
monochromatic
#04061B #090D3E #111873 #1923A8 #212EDE

Accessibility & contrast

On white

14.98
#111873 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #111873
14.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##111873#FFFFFF#000000##FFFFFF
##1118731.0014.981.4014.98
#FFFFFF14.981.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #111873;
/* rgb */ color: rgb(17, 24, 115);
/* oklch */ color: oklch(28.6% 0.151 269.1);
Tailwind
colors: {
  custom: {
    50: '#64569c',
    500: '#111873',
    950: '#000000',
  },
}
SCSS
$custom: #111873;
$custom-light: #64569c;
$custom-dark: #000000;
JSON
{
  "hex": "#111873",
  "rgb": {
    "r": 17,
    "g": 24,
    "b": 115
  },
  "hsl": {
    "h": 235.714,
    "s": 74.242,
    "l": 25.882
  },
  "oklch": {
    "l": 0.28566,
    "c": 0.15086,
    "h": 269.1
  },
  "luminance": 0.0201
}

Semantic roles & 50–950 ramp

primary
#111873
secondary
#AAA236
accent
#E437F1
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #111873

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

Preview Lab → · Contrast checker → · Palette generator →

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