#112E71#112E71

#112E71 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 32.6% C 0.121 H 263.5°. Best body text is #FFFFFF at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#112E71
RGBrgb(17, 46, 113)
HSLhsl(222, 74%, 25%)
HSVhsv(222, 85%, 44%)
CMYKcmyk(85%, 59.3%, 0%, 55.7%)
CIE-LABlab(21.07, 16.79, -41.68)
CIE-LCHlch(21.07, 44.94, 291.94°)
OKLaboklab(32.56% -0.0138 -0.1204)
OKLCHoklch(32.56% 0.121 263.5)
XYZxyz(4.1877, 3.2649, 16.0291)
Luminance0.0326 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112E71 #715411
analogous
#115E71 #112E71 #241171
triadic
#112E71 #71112E #2E7111
tetradic
#112E71 #71115E #715411 #117124
square
#112E71 #71115E #715411 #117124
split-complementary
#112E71 #712411 #5E7111
monochromatic
#040B1B #09183C #112E71 #1944A6 #2159DB

Accessibility & contrast

On white

12.70
#112E71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#112E71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #112E71
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112E71#FFFFFF#000000##FFFFFF
##112E711.0012.701.6512.70
#FFFFFF12.701.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003773
Deuteranopia (green-blind)
#002E70
Tritanopia (blue-blind)
#003F4A
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #112e71;
/* rgb */ color: rgb(17, 46, 113);
/* oklch */ color: oklch(32.6% 0.121 263.5);
Tailwind
colors: {
  custom: {
    50: '#62669a',
    500: '#112e71',
    950: '#000000',
  },
}
SCSS
$custom: #112e71;
$custom-light: #62669a;
$custom-dark: #000000;
JSON
{
  "hex": "#112e71",
  "rgb": {
    "r": 17,
    "g": 46,
    "b": 113
  },
  "hsl": {
    "h": 221.875,
    "s": 73.846,
    "l": 25.49
  },
  "oklch": {
    "l": 0.32563,
    "c": 0.12118,
    "h": 263.5
  },
  "luminance": 0.03265
}

Semantic roles & 50–950 ramp

primary
#112E71
secondary
#A88636
accent
#B937F1
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #112E71

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

Preview Lab → · Contrast checker → · Palette generator →

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