#112156#112156

#112156 is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.1% C 0.098 H 266.8°. Best body text is #FFFFFF at 15.26:1 contrast (WCAG AA passes).

Color values

HEX#112156
RGBrgb(17, 33, 86)
HSLhsl(226, 67%, 20%)
HSVhsv(226, 80%, 34%)
CMYKcmyk(80.2%, 61.6%, 0%, 66.3%)
CIE-LABlab(14.84, 14.87, -34.07)
CIE-LCHlch(14.84, 37.17, 293.58°)
OKLaboklab(27.14% -0.0054 -0.0983)
OKLCHoklch(27.14% 0.098 266.8)
XYZxyz(2.4542, 1.8785, 9.0355)
Luminance0.0188 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112156 #564611
analogous
#114356 #112156 #231156
triadic
#112156 #561121 #215611
tetradic
#112156 #561143 #564611 #115623
square
#112156 #561143 #564611 #115623
split-complementary
#112156 #562311 #435611
monochromatic
#050A1A #070D23 #112156 #1B3589 #2548BC

Accessibility & contrast

On white

15.26
#112156 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#112156 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #112156
15.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112156#FFFFFF#000000##FFFFFF
##1121561.0015.261.3815.26
#FFFFFF15.261.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002958
Deuteranopia (green-blind)
#002255
Tritanopia (blue-blind)
#002E37
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #112156;
/* rgb */ color: rgb(17, 33, 86);
/* oklch */ color: oklch(27.1% 0.098 266.8);
Tailwind
colors: {
  custom: {
    50: '#5b5b86',
    500: '#112156',
    950: '#000000',
  },
}
SCSS
$custom: #112156;
$custom-light: #5b5b86;
$custom-dark: #000000;
JSON
{
  "hex": "#112156",
  "rgb": {
    "r": 17,
    "g": 33,
    "b": 86
  },
  "hsl": {
    "h": 226.087,
    "s": 66.99,
    "l": 20.196
  },
  "oklch": {
    "l": 0.27137,
    "c": 0.09841,
    "h": 266.8
  },
  "luminance": 0.01879
}

Semantic roles & 50–950 ramp

primary
#112156
secondary
#8F7A34
accent
#C23EEA
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #112156

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

Preview Lab → · Contrast checker → · Palette generator →

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