#112142#112142

#112142 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.4% C 0.066 H 263.1°. Best body text is #FFFFFF at 15.91:1 contrast (WCAG AA passes).

Color values

HEX#112142
RGBrgb(17, 33, 66)
HSLhsl(220, 59%, 16%)
HSVhsv(220, 74%, 26%)
CMYKcmyk(74.2%, 50%, 0%, 74.1%)
CIE-LABlab(13.23, 6.24, -22.94)
CIE-LCHlch(13.23, 23.78, 285.20°)
OKLaboklab(25.41% -0.008 -0.0655)
OKLCHoklch(25.41% 0.066 263.1)
XYZxyz(1.7580, 1.6001, 5.3694)
Luminance0.0160 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112142 #423211
analogous
#113A42 #112142 #1A1142
triadic
#112142 #421121 #214211
tetradic
#112142 #42113A #423211 #11421A
square
#112142 #42113A #423211 #11421A
split-complementary
#112142 #421A11 #3A4211
monochromatic
#060C18 #060C18 #112142 #1E3973 #2A52A3

Accessibility & contrast

On white

15.91
#112142 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#112142 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #112142
15.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112142#FFFFFF#000000##FFFFFF
##1121421.0015.911.3215.91
#FFFFFF15.911.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#112443
Deuteranopia (green-blind)
#092041
Tritanopia (blue-blind)
#00292E
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #112142;
/* rgb */ color: rgb(17, 33, 66);
/* oklch */ color: oklch(25.4% 0.066 263.1);
Tailwind
colors: {
  custom: {
    50: '#555b76',
    500: '#112142',
    950: '#000000',
  },
}
SCSS
$custom: #112142;
$custom-light: #555b76;
$custom-dark: #000000;
JSON
{
  "hex": "#112142",
  "rgb": {
    "r": 17,
    "g": 33,
    "b": 66
  },
  "hsl": {
    "h": 220.408,
    "s": 59.036,
    "l": 16.275
  },
  "oklch": {
    "l": 0.25406,
    "c": 0.06602,
    "h": 263.1
  },
  "luminance": 0.016
}

Semantic roles & 50–950 ramp

primary
#112142
secondary
#7C6433
accent
#AF46E2
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030408
muted
#78797B

Preview Lab

Preview with #112142

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

Preview Lab → · Contrast checker → · Palette generator →

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