#112D5B#112D5B

#112D5B is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.4% C 0.089 H 259.9°. Best body text is #FFFFFF at 13.55:1 contrast (WCAG AA passes).

Color values

HEX#112D5B
RGBrgb(17, 45, 91)
HSLhsl(217, 69%, 21%)
HSVhsv(217, 81%, 36%)
CMYKcmyk(81.3%, 50.5%, 0%, 64.3%)
CIE-LABlab(19.02, 8.08, -30.65)
CIE-LCHlch(19.02, 31.70, 284.76°)
OKLaboklab(30.44% -0.0157 -0.088)
OKLCHoklch(30.44% 0.089 259.9)
XYZxyz(3.0572, 2.7509, 10.2654)
Luminance0.0275 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112D5B #5B3F11
analogous
#11525B #112D5B #1A115B
triadic
#112D5B #5B112D #2D5B11
tetradic
#112D5B #5B1152 #5B3F11 #115B1A
square
#112D5B #5B1152 #5B3F11 #115B1A
split-complementary
#112D5B #5B1A11 #525B11
monochromatic
#050D1A #071327 #112D5B #1B468F #2460C2

Accessibility & contrast

On white

13.55
#112D5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#112D5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #112D5B
13.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112D5B#FFFFFF#000000##FFFFFF
##112D5B1.0013.551.5513.55
#FFFFFF13.551.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14325D
Deuteranopia (green-blind)
#032B5A
Tritanopia (blue-blind)
#00383F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #112d5b;
/* rgb */ color: rgb(17, 45, 91);
/* oklch */ color: oklch(30.4% 0.089 259.9);
Tailwind
colors: {
  custom: {
    50: '#5b658a',
    500: '#112d5b',
    950: '#000000',
  },
}
SCSS
$custom: #112d5b;
$custom-light: #5b658a;
$custom-dark: #000000;
JSON
{
  "hex": "#112d5b",
  "rgb": {
    "r": 17,
    "g": 45,
    "b": 91
  },
  "hsl": {
    "h": 217.297,
    "s": 68.519,
    "l": 21.176
  },
  "oklch": {
    "l": 0.30443,
    "c": 0.08937,
    "h": 259.9
  },
  "luminance": 0.02751
}

Semantic roles & 50–950 ramp

primary
#112D5B
secondary
#947034
accent
#A93CEB
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#04050B
muted
#797A7C

Preview Lab

Preview with #112D5B

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

Preview Lab → · Contrast checker → · Palette generator →

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