#112E8E#112E8E

#112E8E is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.4% C 0.162 H 265.3°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#112E8E
RGBrgb(17, 46, 142)
HSLhsl(226, 79%, 31%)
HSVhsv(226, 88%, 56%)
CMYKcmyk(88%, 67.6%, 0%, 44.3%)
CIE-LABlab(23.76, 28.71, -55.60)
CIE-LCHlch(23.76, 62.58, 297.31°)
OKLaboklab(35.38% -0.0134 -0.1612)
OKLCHoklch(35.38% 0.162 265.3)
XYZxyz(6.0889, 4.0254, 26.0420)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112E8E #8E7111
analogous
#116C8E #112E8E #32118E
triadic
#112E8E #8E112E #2E8E11
tetradic
#112E8E #8E116C #8E7111 #118E32
square
#112E8E #8E116C #8E7111 #118E32
split-complementary
#112E8E #8E3211 #6C8E11
monochromatic
#040B21 #0A1C57 #112E8E #1840C5 #335DE7

Accessibility & contrast

On white

11.63
#112E8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#112E8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #112E8E
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112E8E#FFFFFF#000000##FFFFFF
##112E8E1.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F91
Deuteranopia (green-blind)
#00338C
Tritanopia (blue-blind)
#00485A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #112e8e;
/* rgb */ color: rgb(17, 46, 142);
/* oklch */ color: oklch(35.4% 0.162 265.3);
Tailwind
colors: {
  custom: {
    50: '#6a66b0',
    500: '#112e8e',
    950: '#000000',
  },
}
SCSS
$custom: #112e8e;
$custom-light: #6a66b0;
$custom-dark: #000000;
JSON
{
  "hex": "#112e8e",
  "rgb": {
    "r": 17,
    "g": 46,
    "b": 142
  },
  "hsl": {
    "h": 226.08,
    "s": 78.616,
    "l": 31.176
  },
  "oklch": {
    "l": 0.35382,
    "c": 0.16172,
    "h": 265.3
  },
  "luminance": 0.04026
}

Semantic roles & 50–950 ramp

primary
#112E8E
secondary
#C2A238
accent
#C833F5
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80

Preview Lab

Preview with #112E8E

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

Preview Lab → · Contrast checker → · Palette generator →

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