#112F5B#112F5B

#112F5B is a dark, moderate blue. Relative luminance 0.029; OKLCH L 30.9% C 0.087 H 258.2°. Best body text is #FFFFFF at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#112F5B
RGBrgb(17, 47, 91)
HSLhsl(216, 69%, 21%)
HSVhsv(216, 81%, 36%)
CMYKcmyk(81.3%, 48.4%, 0%, 64.3%)
CIE-LABlab(19.67, 6.61, -29.61)
CIE-LCHlch(19.67, 30.34, 282.59°)
OKLaboklab(30.94% -0.0177 -0.0848)
OKLCHoklch(30.94% 0.087 258.2)
XYZxyz(3.1353, 2.9072, 10.2914)
Luminance0.0291 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112F5B #5B3D11
analogous
#11545B #112F5B #18115B
triadic
#112F5B #5B112F #2F5B11
tetradic
#112F5B #5B1154 #5B3D11 #115B18
square
#112F5B #5B1154 #5B3D11 #115B18
split-complementary
#112F5B #5B1811 #545B11
monochromatic
#050D1A #071427 #112F5B #1B4A8F #2464C2

Accessibility & contrast

On white

13.28
#112F5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#112F5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #112F5B
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112F5B#FFFFFF#000000##FFFFFF
##112F5B1.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18335D
Deuteranopia (green-blind)
#092C5A
Tritanopia (blue-blind)
#003940
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #112f5b;
/* rgb */ color: rgb(17, 47, 91);
/* oklch */ color: oklch(30.9% 0.087 258.2);
Tailwind
colors: {
  custom: {
    50: '#5b678a',
    500: '#112f5b',
    950: '#000000',
  },
}
SCSS
$custom: #112f5b;
$custom-light: #5b678a;
$custom-dark: #000000;
JSON
{
  "hex": "#112f5b",
  "rgb": {
    "r": 17,
    "g": 47,
    "b": 91
  },
  "hsl": {
    "h": 215.676,
    "s": 68.519,
    "l": 21.176
  },
  "oklch": {
    "l": 0.30944,
    "c": 0.08667,
    "h": 258.2
  },
  "luminance": 0.02908
}

Semantic roles & 50–950 ramp

primary
#112F5B
secondary
#946D34
accent
#A43CEB
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#04060B
muted
#797A7C

Preview Lab

Preview with #112F5B

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

Preview Lab → · Contrast checker → · Palette generator →

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