#112D5A#112D5A

#112D5A is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.4% C 0.088 H 259.6°. Best body text is #FFFFFF at 13.58:1 contrast (WCAG AA passes).

Color values

HEX#112D5A
RGBrgb(17, 45, 90)
HSLhsl(217, 68%, 21%)
HSVhsv(217, 81%, 35%)
CMYKcmyk(81.1%, 50%, 0%, 64.7%)
CIE-LABlab(18.94, 7.64, -30.11)
CIE-LCHlch(18.94, 31.06, 284.24°)
OKLaboklab(30.36% -0.0159 -0.0864)
OKLCHoklch(30.36% 0.088 259.6)
XYZxyz(3.0143, 2.7338, 10.0397)
Luminance0.0273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112D5A #5A3E11
analogous
#11515A #112D5A #19115A
triadic
#112D5A #5A112D #2D5A11
tetradic
#112D5A #5A1151 #5A3E11 #115A19
square
#112D5A #5A1151 #5A3E11 #115A19
split-complementary
#112D5A #5A1911 #515A11
monochromatic
#050D1A #071327 #112D5A #1B478D #2460C1

Accessibility & contrast

On white

13.58
#112D5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #112D5A
13.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112D5A#FFFFFF#000000##FFFFFF
##112D5A1.0013.581.5513.58
#FFFFFF13.581.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15325C
Deuteranopia (green-blind)
#042B59
Tritanopia (blue-blind)
#00383F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #112d5a;
/* rgb */ color: rgb(17, 45, 90);
/* oklch */ color: oklch(30.4% 0.088 259.6);
Tailwind
colors: {
  custom: {
    50: '#5b6589',
    500: '#112d5a',
    950: '#000000',
  },
}
SCSS
$custom: #112d5a;
$custom-light: #5b6589;
$custom-dark: #000000;
JSON
{
  "hex": "#112d5a",
  "rgb": {
    "r": 17,
    "g": 45,
    "b": 90
  },
  "hsl": {
    "h": 216.986,
    "s": 68.224,
    "l": 20.98
  },
  "oklch": {
    "l": 0.30363,
    "c": 0.08782,
    "h": 259.6
  },
  "luminance": 0.02734
}

Semantic roles & 50–950 ramp

primary
#112D5A
secondary
#936E34
accent
#A83DEB
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#04050B
muted
#797A7C

Preview Lab

Preview with #112D5A

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

Preview Lab → · Contrast checker → · Palette generator →

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