#112E7E#112E7E

#112E7E is a dark, vivid blue. Relative luminance 0.036; OKLCH L 33.8% C 0.140 H 264.6°. Best body text is #FFFFFF at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#112E7E
RGBrgb(17, 46, 126)
HSLhsl(224, 76%, 28%)
HSVhsv(224, 87%, 49%)
CMYKcmyk(86.5%, 63.5%, 0%, 50.6%)
CIE-LABlab(22.23, 22.23, -48.09)
CIE-LCHlch(22.23, 52.98, 294.81°)
OKLaboklab(33.78% -0.0132 -0.1392)
OKLCHoklch(33.78% 0.14 264.6)
XYZxyz(4.9727, 3.5789, 20.1633)
Luminance0.0358 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112E7E #7E6111
analogous
#11647E #112E7E #2B117E
triadic
#112E7E #7E112E #2E7E11
tetradic
#112E7E #7E1164 #7E6111 #117E2B
square
#112E7E #7E1164 #7E6111 #117E2B
split-complementary
#112E7E #7E2B11 #647E11
monochromatic
#040A1B #0A1A48 #112E7E #1842B4 #2759E2

Accessibility & contrast

On white

12.24
#112E7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#112E7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #112E7E
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112E7E#FFFFFF#000000##FFFFFF
##112E7E1.0012.241.7212.24
#FFFFFF12.241.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A81
Deuteranopia (green-blind)
#00307C
Tritanopia (blue-blind)
#004351
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #112e7e;
/* rgb */ color: rgb(17, 46, 126);
/* oklch */ color: oklch(33.8% 0.140 264.6);
Tailwind
colors: {
  custom: {
    50: '#6566a4',
    500: '#112e7e',
    950: '#000000',
  },
}
SCSS
$custom: #112e7e;
$custom-light: #6566a4;
$custom-dark: #000000;
JSON
{
  "hex": "#112e7e",
  "rgb": {
    "r": 17,
    "g": 46,
    "b": 126
  },
  "hsl": {
    "h": 224.037,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.33785,
    "c": 0.13982,
    "h": 264.6
  },
  "luminance": 0.0358
}

Semantic roles & 50–950 ramp

primary
#112E7E
secondary
#B49337
accent
#C035F3
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07050F
muted
#7A7A7F

Preview Lab

Preview with #112E7E

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

Preview Lab → · Contrast checker → · Palette generator →

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