#112F8E#112F8E

#112F8E is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.6% C 0.161 H 265.1°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#112F8E
RGBrgb(17, 47, 142)
HSLhsl(226, 79%, 31%)
HSVhsv(226, 88%, 56%)
CMYKcmyk(88%, 66.9%, 0%, 44.3%)
CIE-LABlab(24.01, 28.02, -55.18)
CIE-LCHlch(24.01, 61.89, 296.92°)
OKLaboklab(35.57% -0.0138 -0.1599)
OKLCHoklch(35.57% 0.161 265.1)
XYZxyz(6.1284, 4.1044, 26.0552)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112F8E #8E7011
analogous
#116D8E #112F8E #31118E
triadic
#112F8E #8E112F #2F8E11
tetradic
#112F8E #8E116D #8E7011 #118E31
square
#112F8E #8E116D #8E7011 #118E31
split-complementary
#112F8E #8E3111 #6D8E11
monochromatic
#040B21 #0A1D57 #112F8E #1841C5 #335EE7

Accessibility & contrast

On white

11.53
#112F8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#112F8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #112F8E
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112F8E#FFFFFF#000000##FFFFFF
##112F8E1.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F91
Deuteranopia (green-blind)
#00338C
Tritanopia (blue-blind)
#00495A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #112f8e;
/* rgb */ color: rgb(17, 47, 142);
/* oklch */ color: oklch(35.6% 0.161 265.1);
Tailwind
colors: {
  custom: {
    50: '#6a67b0',
    500: '#112f8e',
    950: '#000000',
  },
}
SCSS
$custom: #112f8e;
$custom-light: #6a67b0;
$custom-dark: #000000;
JSON
{
  "hex": "#112f8e",
  "rgb": {
    "r": 17,
    "g": 47,
    "b": 142
  },
  "hsl": {
    "h": 225.6,
    "s": 78.616,
    "l": 31.176
  },
  "oklch": {
    "l": 0.35572,
    "c": 0.16051,
    "h": 265.1
  },
  "luminance": 0.04105
}

Semantic roles & 50–950 ramp

primary
#112F8E
secondary
#C2A138
accent
#C633F5
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080611
muted
#7B7A80

Preview Lab

Preview with #112F8E

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

Preview Lab → · Contrast checker → · Palette generator →

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