#112159#112159

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

Color values

HEX#112159
RGBrgb(17, 33, 89)
HSLhsl(227, 68%, 21%)
HSVhsv(227, 81%, 35%)
CMYKcmyk(80.9%, 62.9%, 0%, 65.1%)
CIE-LABlab(15.10, 16.15, -35.65)
CIE-LCHlch(15.10, 39.14, 294.37°)
OKLaboklab(27.42% -0.0053 -0.1029)
OKLCHoklch(27.42% 0.103 267.1)
XYZxyz(2.5776, 1.9279, 9.6855)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112159 #594911
analogous
#114559 #112159 #251159
triadic
#112159 #591121 #215911
tetradic
#112159 #591145 #594911 #115925
square
#112159 #591145 #594911 #115925
split-complementary
#112159 #592511 #455911
monochromatic
#050A1A #070E26 #112159 #1B348C #2547C0

Accessibility & contrast

On white

15.16
#112159 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #112159
15.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112159#FFFFFF#000000##FFFFFF
##1121591.0015.161.3915.16
#FFFFFF15.161.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295B
Deuteranopia (green-blind)
#002358
Tritanopia (blue-blind)
#002F39
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #112159;
/* rgb */ color: rgb(17, 33, 89);
/* oklch */ color: oklch(27.4% 0.103 267.1);
Tailwind
colors: {
  custom: {
    50: '#5c5b88',
    500: '#112159',
    950: '#000000',
  },
}
SCSS
$custom: #112159;
$custom-light: #5c5b88;
$custom-dark: #000000;
JSON
{
  "hex": "#112159",
  "rgb": {
    "r": 17,
    "g": 33,
    "b": 89
  },
  "hsl": {
    "h": 226.667,
    "s": 67.925,
    "l": 20.784
  },
  "oklch": {
    "l": 0.27421,
    "c": 0.10305,
    "h": 267.1
  },
  "luminance": 0.01928
}

Semantic roles & 50–950 ramp

primary
#112159
secondary
#927D34
accent
#C43DEB
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#04040B
muted
#79797C

Preview Lab

Preview with #112159

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

Preview Lab → · Contrast checker → · Palette generator →

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