#112456#112456

#112456 is a dark, moderate blue. Relative luminance 0.021; OKLCH L 27.8% C 0.094 H 265.1°. Best body text is #FFFFFF at 14.89:1 contrast (WCAG AA passes).

Color values

HEX#112456
RGBrgb(17, 36, 86)
HSLhsl(223, 67%, 20%)
HSVhsv(223, 80%, 34%)
CMYKcmyk(80.2%, 58.1%, 0%, 66.3%)
CIE-LABlab(15.76, 12.61, -32.57)
CIE-LCHlch(15.76, 34.93, 291.17°)
OKLaboklab(27.83% -0.0081 -0.0938)
OKLCHoklch(27.83% 0.094 265.1)
XYZxyz(2.5412, 2.0525, 9.0645)
Luminance0.0205 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112456 #564311
analogous
#114656 #112456 #201156
triadic
#112456 #561124 #245611
tetradic
#112456 #561146 #564311 #115620
square
#112456 #561146 #564311 #115620
split-complementary
#112456 #562011 #465611
monochromatic
#050B1A #070F23 #112456 #1B3989 #254FBC

Accessibility & contrast

On white

14.89
#112456 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#112456 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #112456
14.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112456#FFFFFF#000000##FFFFFF
##1124561.0014.891.4114.89
#FFFFFF14.891.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#012B58
Deuteranopia (green-blind)
#002455
Tritanopia (blue-blind)
#003039
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #112456;
/* rgb */ color: rgb(17, 36, 86);
/* oklch */ color: oklch(27.8% 0.094 265.1);
Tailwind
colors: {
  custom: {
    50: '#5b5e86',
    500: '#112456',
    950: '#000000',
  },
}
SCSS
$custom: #112456;
$custom-light: #5b5e86;
$custom-dark: #000000;
JSON
{
  "hex": "#112456",
  "rgb": {
    "r": 17,
    "g": 36,
    "b": 86
  },
  "hsl": {
    "h": 223.478,
    "s": 66.99,
    "l": 20.196
  },
  "oklch": {
    "l": 0.27833,
    "c": 0.09415,
    "h": 265.1
  },
  "luminance": 0.02053
}

Semantic roles & 50–950 ramp

primary
#112456
secondary
#8F7634
accent
#BB3EEA
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #112456

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

Preview Lab → · Contrast checker → · Palette generator →

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