#112D71#112D71

#112D71 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.3% C 0.123 H 263.9°. Best body text is #FFFFFF at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#112D71
RGBrgb(17, 45, 113)
HSLhsl(223, 74%, 25%)
HSVhsv(223, 85%, 44%)
CMYKcmyk(85%, 60.2%, 0%, 55.7%)
CIE-LABlab(20.78, 17.52, -42.16)
CIE-LCHlch(20.78, 45.65, 292.56°)
OKLaboklab(32.34% -0.0131 -0.1218)
OKLCHoklch(32.34% 0.123 263.9)
XYZxyz(4.1491, 3.1877, 16.0162)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112D71 #715511
analogous
#115D71 #112D71 #251171
triadic
#112D71 #71112D #2D7111
tetradic
#112D71 #71115D #715511 #117125
square
#112D71 #71115D #715511 #117125
split-complementary
#112D71 #712511 #5D7111
monochromatic
#040B1B #09183C #112D71 #1942A6 #2157DB

Accessibility & contrast

On white

12.82
#112D71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#112D71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #112D71
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112D71#FFFFFF#000000##FFFFFF
##112D711.0012.821.6412.82
#FFFFFF12.821.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #112d71;
/* rgb */ color: rgb(17, 45, 113);
/* oklch */ color: oklch(32.3% 0.123 263.9);
Tailwind
colors: {
  custom: {
    50: '#62659a',
    500: '#112d71',
    950: '#000000',
  },
}
SCSS
$custom: #112d71;
$custom-light: #62659a;
$custom-dark: #000000;
JSON
{
  "hex": "#112d71",
  "rgb": {
    "r": 17,
    "g": 45,
    "b": 113
  },
  "hsl": {
    "h": 222.5,
    "s": 73.846,
    "l": 25.49
  },
  "oklch": {
    "l": 0.32341,
    "c": 0.12252,
    "h": 263.9
  },
  "luminance": 0.03188
}

Semantic roles & 50–950 ramp

primary
#112D71
secondary
#A88736
accent
#BA37F1
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #112D71

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

Preview Lab → · Contrast checker → · Palette generator →

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