#112C71#112C71

#112C71 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.1% C 0.124 H 264.2°. Best body text is #FFFFFF at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#112C71
RGBrgb(17, 44, 113)
HSLhsl(223, 74%, 25%)
HSVhsv(223, 85%, 44%)
CMYKcmyk(85%, 61.1%, 0%, 55.7%)
CIE-LABlab(20.49, 18.24, -42.64)
CIE-LCHlch(20.49, 46.38, 293.16°)
OKLaboklab(32.12% -0.0124 -0.1232)
OKLCHoklch(32.12% 0.124 264.2)
XYZxyz(4.1114, 3.1123, 16.0036)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112C71 #715611
analogous
#115C71 #112C71 #261171
triadic
#112C71 #71112C #2C7111
tetradic
#112C71 #71115C #715611 #117126
square
#112C71 #71115C #715611 #117126
split-complementary
#112C71 #712611 #5C7111
monochromatic
#040A1B #09173C #112C71 #1941A6 #2155DB

Accessibility & contrast

On white

12.94
#112C71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#112C71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #112C71
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112C71#FFFFFF#000000##FFFFFF
##112C711.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003673
Deuteranopia (green-blind)
#002D70
Tritanopia (blue-blind)
#003D4A
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #112c71;
/* rgb */ color: rgb(17, 44, 113);
/* oklch */ color: oklch(32.1% 0.124 264.2);
Tailwind
colors: {
  custom: {
    50: '#62649a',
    500: '#112c71',
    950: '#000000',
  },
}
SCSS
$custom: #112c71;
$custom-light: #62649a;
$custom-dark: #000000;
JSON
{
  "hex": "#112c71",
  "rgb": {
    "r": 17,
    "g": 44,
    "b": 113
  },
  "hsl": {
    "h": 223.125,
    "s": 73.846,
    "l": 25.49
  },
  "oklch": {
    "l": 0.32122,
    "c": 0.12385,
    "h": 264.2
  },
  "luminance": 0.03113
}

Semantic roles & 50–950 ramp

primary
#112C71
secondary
#A88836
accent
#BC37F1
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #112C71

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

Preview Lab → · Contrast checker → · Palette generator →

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