#112A7E#112A7E

#112A7E is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.0% C 0.145 H 265.6°. Best body text is #FFFFFF at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#112A7E
RGBrgb(17, 42, 126)
HSLhsl(226, 76%, 28%)
HSVhsv(226, 87%, 49%)
CMYKcmyk(86.5%, 66.7%, 0%, 50.6%)
CIE-LABlab(21.14, 25.05, -49.88)
CIE-LCHlch(21.14, 55.82, 296.67°)
OKLaboklab(32.98% -0.0111 -0.1445)
OKLCHoklch(32.98% 0.145 265.6)
XYZxyz(4.8237, 3.2809, 20.1137)
Luminance0.0328 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112A7E #7E6511
analogous
#11607E #112A7E #2F117E
triadic
#112A7E #7E112A #2A7E11
tetradic
#112A7E #7E1160 #7E6511 #117E2F
square
#112A7E #7E1160 #7E6511 #117E2F
split-complementary
#112A7E #7E2F11 #607E11
monochromatic
#04091B #0A1848 #112A7E #183CB4 #2752E2

Accessibility & contrast

On white

12.68
#112A7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#112A7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #112A7E
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112A7E#FFFFFF#000000##FFFFFF
##112A7E1.0012.681.6612.68
#FFFFFF12.681.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #112a7e;
/* rgb */ color: rgb(17, 42, 126);
/* oklch */ color: oklch(33.0% 0.145 265.6);
Tailwind
colors: {
  custom: {
    50: '#6663a4',
    500: '#112a7e',
    950: '#000000',
  },
}
SCSS
$custom: #112a7e;
$custom-light: #6663a4;
$custom-dark: #000000;
JSON
{
  "hex": "#112a7e",
  "rgb": {
    "r": 17,
    "g": 42,
    "b": 126
  },
  "hsl": {
    "h": 226.239,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.32975,
    "c": 0.14489,
    "h": 265.6
  },
  "luminance": 0.03281
}

Semantic roles & 50–950 ramp

primary
#112A7E
secondary
#B49737
accent
#C735F3
background
#F6F5FA
surface
#EBEAF4
border
#C6C6CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #112A7E

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

Preview Lab → · Contrast checker → · Palette generator →

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