#112C7E#112C7E

#112C7E is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.4% C 0.142 H 265.1°. Best body text is #FFFFFF at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#112C7E
RGBrgb(17, 44, 126)
HSLhsl(225, 76%, 28%)
HSVhsv(225, 87%, 49%)
CMYKcmyk(86.5%, 65.1%, 0%, 50.6%)
CIE-LABlab(21.68, 23.65, -48.99)
CIE-LCHlch(21.68, 54.40, 295.77°)
OKLaboklab(33.38% -0.0121 -0.1419)
OKLCHoklch(33.38% 0.142 265.1)
XYZxyz(4.8964, 3.4263, 20.1379)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112C7E #7E6311
analogous
#11627E #112C7E #2D117E
triadic
#112C7E #7E112C #2C7E11
tetradic
#112C7E #7E1162 #7E6311 #117E2D
square
#112C7E #7E1162 #7E6311 #117E2D
split-complementary
#112C7E #7E2D11 #627E11
monochromatic
#04091B #0A1948 #112C7E #183FB4 #2756E2

Accessibility & contrast

On white

12.46
#112C7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#112C7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #112C7E
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112C7E#FFFFFF#000000##FFFFFF
##112C7E1.0012.461.6912.46
#FFFFFF12.461.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003981
Deuteranopia (green-blind)
#002F7C
Tritanopia (blue-blind)
#004250
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #112c7e;
/* rgb */ color: rgb(17, 44, 126);
/* oklch */ color: oklch(33.4% 0.142 265.1);
Tailwind
colors: {
  custom: {
    50: '#6664a4',
    500: '#112c7e',
    950: '#000000',
  },
}
SCSS
$custom: #112c7e;
$custom-light: #6664a4;
$custom-dark: #000000;
JSON
{
  "hex": "#112c7e",
  "rgb": {
    "r": 17,
    "g": 44,
    "b": 126
  },
  "hsl": {
    "h": 225.138,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.33375,
    "c": 0.14238,
    "h": 265.1
  },
  "luminance": 0.03427
}

Semantic roles & 50–950 ramp

primary
#112C7E
secondary
#B49537
accent
#C435F3
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07050F
muted
#7A7A7F

Preview Lab

Preview with #112C7E

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

Preview Lab → · Contrast checker → · Palette generator →

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