#112B7E#112B7E

#112B7E is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.2% C 0.144 H 265.4°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#112B7E
RGBrgb(17, 43, 126)
HSLhsl(226, 76%, 28%)
HSVhsv(226, 87%, 49%)
CMYKcmyk(86.5%, 65.9%, 0%, 50.6%)
CIE-LABlab(21.40, 24.35, -49.44)
CIE-LCHlch(21.40, 55.11, 296.22°)
OKLaboklab(33.17% -0.0116 -0.1432)
OKLCHoklch(33.17% 0.144 265.4)
XYZxyz(4.8596, 3.3527, 20.1256)
Luminance0.0335 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112B7E #7E6411
analogous
#11617E #112B7E #2D117E
triadic
#112B7E #7E112B #2B7E11
tetradic
#112B7E #7E1161 #7E6411 #117E2D
square
#112B7E #7E1161 #7E6411 #117E2D
split-complementary
#112B7E #7E2D11 #617E11
monochromatic
#04091B #0A1948 #112B7E #183DB4 #2754E2

Accessibility & contrast

On white

12.57
#112B7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#112B7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #112B7E
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112B7E#FFFFFF#000000##FFFFFF
##112B7E1.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003981
Deuteranopia (green-blind)
#002E7C
Tritanopia (blue-blind)
#004150
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #112b7e;
/* rgb */ color: rgb(17, 43, 126);
/* oklch */ color: oklch(33.2% 0.144 265.4);
Tailwind
colors: {
  custom: {
    50: '#6664a4',
    500: '#112b7e',
    950: '#000000',
  },
}
SCSS
$custom: #112b7e;
$custom-light: #6664a4;
$custom-dark: #000000;
JSON
{
  "hex": "#112b7e",
  "rgb": {
    "r": 17,
    "g": 43,
    "b": 126
  },
  "hsl": {
    "h": 225.688,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.33174,
    "c": 0.14364,
    "h": 265.4
  },
  "luminance": 0.03353
}

Semantic roles & 50–950 ramp

primary
#112B7E
secondary
#B49637
accent
#C635F3
background
#F6F5FA
surface
#EBEAF4
border
#C6C6CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #112B7E

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

Preview Lab → · Contrast checker → · Palette generator →

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