#112042#112042

#112042 is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.1% C 0.067 H 264.2°. Best body text is #FFFFFF at 16.04:1 contrast (WCAG AA passes).

Color values

HEX#112042
RGBrgb(17, 32, 66)
HSLhsl(222, 59%, 16%)
HSVhsv(222, 74%, 26%)
CMYKcmyk(74.2%, 51.5%, 0%, 74.1%)
CIE-LABlab(12.89, 7.00, -23.48)
CIE-LCHlch(12.89, 24.50, 286.60°)
OKLaboklab(25.15% -0.0068 -0.0671)
OKLCHoklch(25.15% 0.067 264.2)
XYZxyz(1.7307, 1.5454, 5.3603)
Luminance0.0155 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112042 #423311
analogous
#113942 #112042 #1B1142
triadic
#112042 #421120 #204211
tetradic
#112042 #421139 #423311 #11421B
square
#112042 #421139 #423311 #11421B
split-complementary
#112042 #421B11 #394211
monochromatic
#060C18 #060C18 #112042 #1E3873 #2A4FA3

Accessibility & contrast

On white

16.04
#112042 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#112042 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #112042
16.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112042#FFFFFF#000000##FFFFFF
##1120421.0016.041.3116.04
#FFFFFF16.041.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F2443
Deuteranopia (green-blind)
#071F41
Tritanopia (blue-blind)
#00282D
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #112042;
/* rgb */ color: rgb(17, 32, 66);
/* oklch */ color: oklch(25.1% 0.067 264.2);
Tailwind
colors: {
  custom: {
    50: '#555b76',
    500: '#112042',
    950: '#000000',
  },
}
SCSS
$custom: #112042;
$custom-light: #555b76;
$custom-dark: #000000;
JSON
{
  "hex": "#112042",
  "rgb": {
    "r": 17,
    "g": 32,
    "b": 66
  },
  "hsl": {
    "h": 221.633,
    "s": 59.036,
    "l": 16.275
  },
  "oklch": {
    "l": 0.25147,
    "c": 0.06748,
    "h": 264.2
  },
  "luminance": 0.01546
}

Semantic roles & 50–950 ramp

primary
#112042
secondary
#7C6533
accent
#B246E2
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030408
muted
#78797B

Preview Lab

Preview with #112042

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

Preview Lab → · Contrast checker → · Palette generator →

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