#112158#112158

#112158 is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.3% C 0.102 H 267.0°. Best body text is #FFFFFF at 15.19:1 contrast (WCAG AA passes).

Color values

HEX#112158
RGBrgb(17, 33, 88)
HSLhsl(226, 68%, 21%)
HSVhsv(226, 81%, 35%)
CMYKcmyk(80.7%, 62.5%, 0%, 65.5%)
CIE-LABlab(15.01, 15.72, -35.13)
CIE-LCHlch(15.01, 38.49, 294.12°)
OKLaboklab(27.33% -0.0053 -0.1014)
OKLCHoklch(27.33% 0.102 267)
XYZxyz(2.5359, 1.9112, 9.4659)
Luminance0.0191 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112158 #584811
analogous
#114458 #112158 #241158
triadic
#112158 #581121 #215811
tetradic
#112158 #581144 #584811 #115824
square
#112158 #581144 #584811 #115824
split-complementary
#112158 #582411 #445811
monochromatic
#050A1A #070E25 #112158 #1B348B #2547BF

Accessibility & contrast

On white

15.19
#112158 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #112158
15.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112158#FFFFFF#000000##FFFFFF
##1121581.0015.191.3815.19
#FFFFFF15.191.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295A
Deuteranopia (green-blind)
#002357
Tritanopia (blue-blind)
#002F38
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #112158;
/* rgb */ color: rgb(17, 33, 88);
/* oklch */ color: oklch(27.3% 0.102 267.0);
Tailwind
colors: {
  custom: {
    50: '#5b5b88',
    500: '#112158',
    950: '#000000',
  },
}
SCSS
$custom: #112158;
$custom-light: #5b5b88;
$custom-dark: #000000;
JSON
{
  "hex": "#112158",
  "rgb": {
    "r": 17,
    "g": 33,
    "b": 88
  },
  "hsl": {
    "h": 226.479,
    "s": 67.619,
    "l": 20.588
  },
  "oklch": {
    "l": 0.27326,
    "c": 0.10151,
    "h": 267
  },
  "luminance": 0.01911
}

Semantic roles & 50–950 ramp

primary
#112158
secondary
#917C34
accent
#C33DEA
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#04040B
muted
#79797C

Preview Lab

Preview with #112158

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

Preview Lab → · Contrast checker → · Palette generator →

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