#112D8E#112D8E

#112D8E is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.2% C 0.163 H 265.4°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#112D8E
RGBrgb(17, 45, 142)
HSLhsl(227, 79%, 31%)
HSVhsv(227, 88%, 56%)
CMYKcmyk(88%, 68.3%, 0%, 44.3%)
CIE-LABlab(23.50, 29.38, -56.02)
CIE-LCHlch(23.50, 63.26, 297.68°)
OKLaboklab(35.19% -0.013 -0.1624)
OKLCHoklch(35.19% 0.163 265.4)
XYZxyz(6.0503, 3.9482, 26.0291)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112D8E #8E7211
analogous
#116B8E #112D8E #33118E
triadic
#112D8E #8E112D #2D8E11
tetradic
#112D8E #8E116B #8E7211 #118E33
square
#112D8E #8E116B #8E7211 #118E33
split-complementary
#112D8E #8E3311 #6B8E11
monochromatic
#040A21 #0A1C57 #112D8E #183EC5 #335BE7

Accessibility & contrast

On white

11.73
#112D8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#112D8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #112D8E
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112D8E#FFFFFF#000000##FFFFFF
##112D8E1.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E91
Deuteranopia (green-blind)
#00328C
Tritanopia (blue-blind)
#004859
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #112d8e;
/* rgb */ color: rgb(17, 45, 142);
/* oklch */ color: oklch(35.2% 0.163 265.4);
Tailwind
colors: {
  custom: {
    50: '#6a65b0',
    500: '#112d8e',
    950: '#000000',
  },
}
SCSS
$custom: #112d8e;
$custom-light: #6a65b0;
$custom-dark: #000000;
JSON
{
  "hex": "#112d8e",
  "rgb": {
    "r": 17,
    "g": 45,
    "b": 142
  },
  "hsl": {
    "h": 226.56,
    "s": 78.616,
    "l": 31.176
  },
  "oklch": {
    "l": 0.35194,
    "c": 0.16292,
    "h": 265.4
  },
  "luminance": 0.03949
}

Semantic roles & 50–950 ramp

primary
#112D8E
secondary
#C2A338
accent
#CA33F5
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080511
muted
#7B7A80

Preview Lab

Preview with #112D8E

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

Preview Lab → · Contrast checker → · Palette generator →

#112D8E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva