#112256#112256

#112256 is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.4% C 0.097 H 266.3°. Best body text is #FFFFFF at 15.14:1 contrast (WCAG AA passes).

Color values

HEX#112256
RGBrgb(17, 34, 86)
HSLhsl(225, 67%, 20%)
HSVhsv(225, 80%, 34%)
CMYKcmyk(80.2%, 60.5%, 0%, 66.3%)
CIE-LABlab(15.14, 14.12, -33.57)
CIE-LCHlch(15.14, 36.42, 292.80°)
OKLaboklab(27.37% -0.0063 -0.0968)
OKLCHoklch(27.37% 0.097 266.3)
XYZxyz(2.4823, 1.9348, 9.0449)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112256 #564511
analogous
#114556 #112256 #221156
triadic
#112256 #561122 #225611
tetradic
#112256 #561145 #564511 #115622
square
#112256 #561145 #564511 #115622
split-complementary
#112256 #562211 #455611
monochromatic
#050A1A #070E23 #112256 #1B3689 #254ABC

Accessibility & contrast

On white

15.14
#112256 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#112256 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #112256
15.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112256#FFFFFF#000000##FFFFFF
##1122561.0015.141.3915.14
#FFFFFF15.141.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002958
Deuteranopia (green-blind)
#002355
Tritanopia (blue-blind)
#002F38
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #112256;
/* rgb */ color: rgb(17, 34, 86);
/* oklch */ color: oklch(27.4% 0.097 266.3);
Tailwind
colors: {
  custom: {
    50: '#5b5c86',
    500: '#112256',
    950: '#000000',
  },
}
SCSS
$custom: #112256;
$custom-light: #5b5c86;
$custom-dark: #000000;
JSON
{
  "hex": "#112256",
  "rgb": {
    "r": 17,
    "g": 34,
    "b": 86
  },
  "hsl": {
    "h": 225.217,
    "s": 66.99,
    "l": 20.196
  },
  "oklch": {
    "l": 0.27366,
    "c": 0.09699,
    "h": 266.3
  },
  "luminance": 0.01935
}

Semantic roles & 50–950 ramp

primary
#112256
secondary
#8F7934
accent
#C03EEA
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #112256

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

Preview Lab → · Contrast checker → · Palette generator →

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