#112D5C#112D5C

#112D5C is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.5% C 0.091 H 260.2°. Best body text is #FFFFFF at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#112D5C
RGBrgb(17, 45, 92)
HSLhsl(218, 69%, 21%)
HSVhsv(218, 82%, 36%)
CMYKcmyk(81.5%, 51.1%, 0%, 63.9%)
CIE-LABlab(19.09, 8.51, -31.20)
CIE-LCHlch(19.09, 32.34, 285.25°)
OKLaboklab(30.52% -0.0155 -0.0896)
OKLCHoklch(30.52% 0.091 260.2)
XYZxyz(3.1006, 2.7683, 10.4941)
Luminance0.0277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112D5C #5C4011
analogous
#11535C #112D5C #1B115C
triadic
#112D5C #5C112D #2D5C11
tetradic
#112D5C #5C1153 #5C4011 #115C1B
square
#112D5C #5C1153 #5C4011 #115C1B
split-complementary
#112D5C #5C1B11 #535C11
monochromatic
#050D1A #071428 #112D5C #1B4690 #2460C3

Accessibility & contrast

On white

13.52
#112D5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #112D5C
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112D5C#FFFFFF#000000##FFFFFF
##112D5C1.0013.521.5513.52
#FFFFFF13.521.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13325E
Deuteranopia (green-blind)
#012B5B
Tritanopia (blue-blind)
#003840
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #112d5c;
/* rgb */ color: rgb(17, 45, 92);
/* oklch */ color: oklch(30.5% 0.091 260.2);
Tailwind
colors: {
  custom: {
    50: '#5c658a',
    500: '#112d5c',
    950: '#000000',
  },
}
SCSS
$custom: #112d5c;
$custom-light: #5c658a;
$custom-dark: #000000;
JSON
{
  "hex": "#112d5c",
  "rgb": {
    "r": 17,
    "g": 45,
    "b": 92
  },
  "hsl": {
    "h": 217.6,
    "s": 68.807,
    "l": 21.373
  },
  "oklch": {
    "l": 0.30523,
    "c": 0.09091,
    "h": 260.2
  },
  "luminance": 0.02769
}

Semantic roles & 50–950 ramp

primary
#112D5C
secondary
#957134
accent
#AA3CEC
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#04050C
muted
#797A7D

Preview Lab

Preview with #112D5C

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

Preview Lab → · Contrast checker → · Palette generator →

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