#112056#112056

#112056 is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.9% C 0.100 H 267.4°. Best body text is #FFFFFF at 15.39:1 contrast (WCAG AA passes).

Color values

HEX#112056
RGBrgb(17, 32, 86)
HSLhsl(227, 67%, 20%)
HSVhsv(227, 80%, 34%)
CMYKcmyk(80.2%, 62.8%, 0%, 66.3%)
CIE-LABlab(14.53, 15.62, -34.56)
CIE-LCHlch(14.53, 37.93, 294.32°)
OKLaboklab(26.91% -0.0046 -0.0997)
OKLCHoklch(26.91% 0.1 267.4)
XYZxyz(2.4268, 1.8238, 9.0264)
Luminance0.0182 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112056 #564711
analogous
#114256 #112056 #251156
triadic
#112056 #561120 #205611
tetradic
#112056 #561142 #564711 #115625
square
#112056 #561142 #564711 #115625
split-complementary
#112056 #562511 #425611
monochromatic
#050A1A #070D23 #112056 #1B3389 #2546BC

Accessibility & contrast

On white

15.39
#112056 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#112056 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #112056
15.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112056#FFFFFF#000000##FFFFFF
##1120561.0015.391.3615.39
#FFFFFF15.391.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #112056;
/* rgb */ color: rgb(17, 32, 86);
/* oklch */ color: oklch(26.9% 0.100 267.4);
Tailwind
colors: {
  custom: {
    50: '#5b5b86',
    500: '#112056',
    950: '#000000',
  },
}
SCSS
$custom: #112056;
$custom-light: #5b5b86;
$custom-dark: #000000;
JSON
{
  "hex": "#112056",
  "rgb": {
    "r": 17,
    "g": 32,
    "b": 86
  },
  "hsl": {
    "h": 226.957,
    "s": 66.99,
    "l": 20.196
  },
  "oklch": {
    "l": 0.2691,
    "c": 0.09983,
    "h": 267.4
  },
  "luminance": 0.01824
}

Semantic roles & 50–950 ramp

primary
#112056
secondary
#8F7B34
accent
#C53EEA
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #112056

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

Preview Lab → · Contrast checker → · Palette generator →

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