#112F5D#112F5D

#112F5D is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.1% C 0.090 H 258.9°. Best body text is #FFFFFF at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#112F5D
RGBrgb(17, 47, 93)
HSLhsl(216, 69%, 22%)
HSVhsv(216, 82%, 36%)
CMYKcmyk(81.7%, 49.5%, 0%, 63.5%)
CIE-LABlab(19.81, 7.48, -30.70)
CIE-LCHlch(19.81, 31.60, 283.69°)
OKLaboklab(31.1% -0.0173 -0.0881)
OKLCHoklch(31.1% 0.09 258.9)
XYZxyz(3.2227, 2.9421, 10.7518)
Luminance0.0294 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112F5D #5D3F11
analogous
#11555D #112F5D #19115D
triadic
#112F5D #5D112F #2F5D11
tetradic
#112F5D #5D1155 #5D3F11 #115D19
square
#112F5D #5D1155 #5D3F11 #115D19
split-complementary
#112F5D #5D1911 #555D11
monochromatic
#050D1A #081529 #112F5D #1A4991 #2463C4

Accessibility & contrast

On white

13.22
#112F5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#112F5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #112F5D
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112F5D#FFFFFF#000000##FFFFFF
##112F5D1.0013.221.5913.22
#FFFFFF13.221.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17345F
Deuteranopia (green-blind)
#052D5C
Tritanopia (blue-blind)
#003A41
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #112f5d;
/* rgb */ color: rgb(17, 47, 93);
/* oklch */ color: oklch(31.1% 0.090 258.9);
Tailwind
colors: {
  custom: {
    50: '#5c678b',
    500: '#112f5d',
    950: '#000000',
  },
}
SCSS
$custom: #112f5d;
$custom-light: #5c678b;
$custom-dark: #000000;
JSON
{
  "hex": "#112f5d",
  "rgb": {
    "r": 17,
    "g": 47,
    "b": 93
  },
  "hsl": {
    "h": 216.316,
    "s": 69.091,
    "l": 21.569
  },
  "oklch": {
    "l": 0.311,
    "c": 0.08974,
    "h": 258.9
  },
  "luminance": 0.02943
}

Semantic roles & 50–950 ramp

primary
#112F5D
secondary
#966F34
accent
#A63CEC
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #112F5D

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

Preview Lab → · Contrast checker → · Palette generator →

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