#112B71#112B71

#112B71 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 31.9% C 0.125 H 264.6°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#112B71
RGBrgb(17, 43, 113)
HSLhsl(224, 74%, 25%)
HSVhsv(224, 85%, 44%)
CMYKcmyk(85%, 61.9%, 0%, 55.7%)
CIE-LABlab(20.20, 18.97, -43.11)
CIE-LCHlch(20.20, 47.10, 293.75°)
OKLaboklab(31.91% -0.0117 -0.1246)
OKLCHoklch(31.91% 0.125 264.6)
XYZxyz(4.0746, 3.0387, 15.9914)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112B71 #715711
analogous
#115B71 #112B71 #271171
triadic
#112B71 #71112B #2B7111
tetradic
#112B71 #71115B #715711 #117127
square
#112B71 #71115B #715711 #117127
split-complementary
#112B71 #712711 #5B7111
monochromatic
#040A1B #09173C #112B71 #193FA6 #2153DB

Accessibility & contrast

On white

13.06
#112B71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#112B71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #112B71
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112B71#FFFFFF#000000##FFFFFF
##112B711.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003573
Deuteranopia (green-blind)
#002C70
Tritanopia (blue-blind)
#003D49
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #112b71;
/* rgb */ color: rgb(17, 43, 113);
/* oklch */ color: oklch(31.9% 0.125 264.6);
Tailwind
colors: {
  custom: {
    50: '#62639a',
    500: '#112b71',
    950: '#000000',
  },
}
SCSS
$custom: #112b71;
$custom-light: #62639a;
$custom-dark: #000000;
JSON
{
  "hex": "#112b71",
  "rgb": {
    "r": 17,
    "g": 43,
    "b": 113
  },
  "hsl": {
    "h": 223.75,
    "s": 73.846,
    "l": 25.49
  },
  "oklch": {
    "l": 0.31905,
    "c": 0.12519,
    "h": 264.6
  },
  "luminance": 0.03039
}

Semantic roles & 50–950 ramp

primary
#112B71
secondary
#A88936
accent
#BE37F1
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #112B71

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

Preview Lab → · Contrast checker → · Palette generator →

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