#112F81#112F81

#112F81 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.3% C 0.143 H 264.5°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#112F81
RGBrgb(17, 47, 129)
HSLhsl(224, 77%, 29%)
HSVhsv(224, 87%, 51%)
CMYKcmyk(86.8%, 63.6%, 0%, 49.4%)
CIE-LABlab(22.78, 22.76, -49.08)
CIE-LCHlch(22.78, 54.10, 294.88°)
OKLaboklab(34.28% -0.0138 -0.1421)
OKLCHoklch(34.28% 0.143 264.5)
XYZxyz(5.2087, 3.7365, 21.2113)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112F81 #816311
analogous
#116781 #112F81 #2B1181
triadic
#112F81 #81112F #2F8111
tetradic
#112F81 #811167 #816311 #11812B
square
#112F81 #811167 #816311 #11812B
split-complementary
#112F81 #812B11 #678111
monochromatic
#040A1B #0A1B4B #112F81 #1843B7 #2A5BE3

Accessibility & contrast

On white

12.02
#112F81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#112F81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #112F81
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112F81#FFFFFF#000000##FFFFFF
##112F811.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C84
Deuteranopia (green-blind)
#00317F
Tritanopia (blue-blind)
#004453
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #112f81;
/* rgb */ color: rgb(17, 47, 129);
/* oklch */ color: oklch(34.3% 0.143 264.5);
Tailwind
colors: {
  custom: {
    50: '#6667a6',
    500: '#112f81',
    950: '#000000',
  },
}
SCSS
$custom: #112f81;
$custom-light: #6667a6;
$custom-dark: #000000;
JSON
{
  "hex": "#112f81",
  "rgb": {
    "r": 17,
    "g": 47,
    "b": 129
  },
  "hsl": {
    "h": 223.929,
    "s": 76.712,
    "l": 28.627
  },
  "oklch": {
    "l": 0.34281,
    "c": 0.14273,
    "h": 264.5
  },
  "luminance": 0.03737
}

Semantic roles & 50–950 ramp

primary
#112F81
secondary
#B79537
accent
#C035F3
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #112F81

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

Preview Lab → · Contrast checker → · Palette generator →

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