#112866#112866

#112866 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.2% C 0.113 H 264.8°. Best body text is #FFFFFF at 13.82:1 contrast (WCAG AA passes).

Color values

HEX#112866
RGBrgb(17, 40, 102)
HSLhsl(224, 71%, 23%)
HSVhsv(224, 83%, 40%)
CMYKcmyk(83.3%, 60.8%, 0%, 60%)
CIE-LABlab(18.35, 16.50, -38.99)
CIE-LCHlch(18.35, 42.34, 292.94°)
OKLaboklab(30.21% -0.0101 -0.1126)
OKLCHoklch(30.21% 0.113 264.8)
XYZxyz(3.3874, 2.5957, 12.8903)
Luminance0.0260 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112866 #664F11
analogous
#115266 #112866 #241166
triadic
#112866 #661128 #286611
tetradic
#112866 #661152 #664F11 #116624
square
#112866 #661152 #664F11 #116624
split-complementary
#112866 #662411 #526611
monochromatic
#040A1A #081332 #112866 #1A3D9A #2251CF

Accessibility & contrast

On white

13.82
#112866 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#112866 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #112866
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112866#FFFFFF#000000##FFFFFF
##1128661.0013.821.5213.82
#FFFFFF13.821.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003168
Deuteranopia (green-blind)
#002965
Tritanopia (blue-blind)
#003842
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #112866;
/* rgb */ color: rgb(17, 40, 102);
/* oklch */ color: oklch(30.2% 0.113 264.8);
Tailwind
colors: {
  custom: {
    50: '#5f6192',
    500: '#112866',
    950: '#000000',
  },
}
SCSS
$custom: #112866;
$custom-light: #5f6192;
$custom-dark: #000000;
JSON
{
  "hex": "#112866",
  "rgb": {
    "r": 17,
    "g": 40,
    "b": 102
  },
  "hsl": {
    "h": 223.765,
    "s": 71.429,
    "l": 23.333
  },
  "oklch": {
    "l": 0.30212,
    "c": 0.11305,
    "h": 264.8
  },
  "luminance": 0.02596
}

Semantic roles & 50–950 ramp

primary
#112866
secondary
#9E8235
accent
#BD3AEE
background
#F5F5F9
surface
#EAE9F1
border
#C6C5CB
text
#05050D
muted
#79797E

Preview Lab

Preview with #112866

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

Preview Lab → · Contrast checker → · Palette generator →

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