#112F5C#112F5C

#112F5C is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.0% C 0.088 H 258.6°. Best body text is #FFFFFF at 13.25:1 contrast (WCAG AA passes).

Color values

HEX#112F5C
RGBrgb(17, 47, 92)
HSLhsl(216, 69%, 21%)
HSVhsv(216, 82%, 36%)
CMYKcmyk(81.5%, 48.9%, 0%, 63.9%)
CIE-LABlab(19.74, 7.04, -30.15)
CIE-LCHlch(19.74, 30.97, 283.15°)
OKLaboklab(31.02% -0.0175 -0.0865)
OKLCHoklch(31.02% 0.088 258.6)
XYZxyz(3.1787, 2.9245, 10.5201)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112F5C #5C3E11
analogous
#11555C #112F5C #19115C
triadic
#112F5C #5C112F #2F5C11
tetradic
#112F5C #5C1155 #5C3E11 #115C19
square
#112F5C #5C1155 #5C3E11 #115C19
split-complementary
#112F5C #5C1911 #555C11
monochromatic
#050D1A #071528 #112F5C #1B4990 #2464C3

Accessibility & contrast

On white

13.25
#112F5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #112F5C
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112F5C#FFFFFF#000000##FFFFFF
##112F5C1.0013.251.5913.25
#FFFFFF13.251.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18335E
Deuteranopia (green-blind)
#072D5B
Tritanopia (blue-blind)
#003A41
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #112f5c;
/* rgb */ color: rgb(17, 47, 92);
/* oklch */ color: oklch(31.0% 0.088 258.6);
Tailwind
colors: {
  custom: {
    50: '#5c678a',
    500: '#112f5c',
    950: '#000000',
  },
}
SCSS
$custom: #112f5c;
$custom-light: #5c678a;
$custom-dark: #000000;
JSON
{
  "hex": "#112f5c",
  "rgb": {
    "r": 17,
    "g": 47,
    "b": 92
  },
  "hsl": {
    "h": 216,
    "s": 68.807,
    "l": 21.373
  },
  "oklch": {
    "l": 0.31022,
    "c": 0.08821,
    "h": 258.6
  },
  "luminance": 0.02925
}

Semantic roles & 50–950 ramp

primary
#112F5C
secondary
#956E34
accent
#A53CEC
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#04060C
muted
#797A7D

Preview Lab

Preview with #112F5C

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

Preview Lab → · Contrast checker → · Palette generator →

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