#112166#112166

#112166 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 28.7% C 0.122 H 267.5°. Best body text is #FFFFFF at 14.65:1 contrast (WCAG AA passes).

Color values

HEX#112166
RGBrgb(17, 33, 102)
HSLhsl(229, 71%, 23%)
HSVhsv(229, 83%, 40%)
CMYKcmyk(83.3%, 67.6%, 0%, 60%)
CIE-LABlab(16.33, 21.61, -42.27)
CIE-LCHlch(16.33, 47.48, 297.08°)
OKLaboklab(28.72% -0.0053 -0.1223)
OKLCHoklch(28.72% 0.122 267.5)
XYZxyz(3.1725, 2.1658, 12.8186)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112166 #665611
analogous
#114B66 #112166 #2B1166
triadic
#112166 #661121 #216611
tetradic
#112166 #66114B #665611 #11662B
square
#112166 #66114B #665611 #11662B
split-complementary
#112166 #662B11 #4B6611
monochromatic
#04081A #081032 #112166 #1A329A #2243CF

Accessibility & contrast

On white

14.65
#112166 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#112166 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #112166
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112166#FFFFFF#000000##FFFFFF
##1121661.0014.651.4314.65
#FFFFFF14.651.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D68
Deuteranopia (green-blind)
#002565
Tritanopia (blue-blind)
#003340
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #112166;
/* rgb */ color: rgb(17, 33, 102);
/* oklch */ color: oklch(28.7% 0.122 267.5);
Tailwind
colors: {
  custom: {
    50: '#605c92',
    500: '#112166',
    950: '#000000',
  },
}
SCSS
$custom: #112166;
$custom-light: #605c92;
$custom-dark: #000000;
JSON
{
  "hex": "#112166",
  "rgb": {
    "r": 17,
    "g": 33,
    "b": 102
  },
  "hsl": {
    "h": 228.706,
    "s": 71.429,
    "l": 23.333
  },
  "oklch": {
    "l": 0.28715,
    "c": 0.12244,
    "h": 267.5
  },
  "luminance": 0.02166
}

Semantic roles & 50–950 ramp

primary
#112166
secondary
#9E8A35
accent
#CC3AEE
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#05040D
muted
#79797E

Preview Lab

Preview with #112166

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

Preview Lab → · Contrast checker → · Palette generator →

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