#112D7E#112D7E

#112D7E is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.6% C 0.141 H 264.8°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#112D7E
RGBrgb(17, 45, 126)
HSLhsl(225, 76%, 28%)
HSVhsv(225, 87%, 49%)
CMYKcmyk(86.5%, 64.3%, 0%, 50.6%)
CIE-LABlab(21.95, 22.94, -48.54)
CIE-LCHlch(21.95, 53.69, 295.30°)
OKLaboklab(33.58% -0.0127 -0.1405)
OKLCHoklch(33.58% 0.141 264.8)
XYZxyz(4.9341, 3.5017, 20.1505)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112D7E #7E6211
analogous
#11637E #112D7E #2B117E
triadic
#112D7E #7E112D #2D7E11
tetradic
#112D7E #7E1163 #7E6211 #117E2B
square
#112D7E #7E1163 #7E6211 #117E2B
split-complementary
#112D7E #7E2B11 #637E11
monochromatic
#040A1B #0A1A48 #112D7E #1840B4 #2757E2

Accessibility & contrast

On white

12.35
#112D7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#112D7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #112D7E
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112D7E#FFFFFF#000000##FFFFFF
##112D7E1.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #112d7e;
/* rgb */ color: rgb(17, 45, 126);
/* oklch */ color: oklch(33.6% 0.141 264.8);
Tailwind
colors: {
  custom: {
    50: '#6565a4',
    500: '#112d7e',
    950: '#000000',
  },
}
SCSS
$custom: #112d7e;
$custom-light: #6565a4;
$custom-dark: #000000;
JSON
{
  "hex": "#112d7e",
  "rgb": {
    "r": 17,
    "g": 45,
    "b": 126
  },
  "hsl": {
    "h": 224.587,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.33579,
    "c": 0.1411,
    "h": 264.8
  },
  "luminance": 0.03502
}

Semantic roles & 50–950 ramp

primary
#112D7E
secondary
#B49437
accent
#C235F3
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07050F
muted
#7A7A7F

Preview Lab

Preview with #112D7E

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

Preview Lab → · Contrast checker → · Palette generator →

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