#112D57#112D57

#112D57 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.1% C 0.083 H 258.5°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#112D57
RGBrgb(17, 45, 87)
HSLhsl(216, 67%, 20%)
HSVhsv(216, 80%, 34%)
CMYKcmyk(80.5%, 48.3%, 0%, 65.9%)
CIE-LABlab(18.73, 6.35, -28.45)
CIE-LCHlch(18.73, 29.15, 282.58°)
OKLaboklab(30.13% -0.0165 -0.0815)
OKLCHoklch(30.13% 0.083 258.5)
XYZxyz(2.8892, 2.6837, 9.3807)
Luminance0.0268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112D57 #573B11
analogous
#115057 #112D57 #181157
triadic
#112D57 #57112D #2D5711
tetradic
#112D57 #571150 #573B11 #115718
square
#112D57 #571150 #573B11 #115718
split-complementary
#112D57 #571811 #505711
monochromatic
#050D1A #071324 #112D57 #1B478A #2562BD

Accessibility & contrast

On white

13.66
#112D57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#112D57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #112D57
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112D57#FFFFFF#000000##FFFFFF
##112D571.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183159
Deuteranopia (green-blind)
#0A2B56
Tritanopia (blue-blind)
#00373D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #112d57;
/* rgb */ color: rgb(17, 45, 87);
/* oklch */ color: oklch(30.1% 0.083 258.5);
Tailwind
colors: {
  custom: {
    50: '#5a6587',
    500: '#112d57',
    950: '#000000',
  },
}
SCSS
$custom: #112d57;
$custom-light: #5a6587;
$custom-dark: #000000;
JSON
{
  "hex": "#112d57",
  "rgb": {
    "r": 17,
    "g": 45,
    "b": 87
  },
  "hsl": {
    "h": 216,
    "s": 67.308,
    "l": 20.392
  },
  "oklch": {
    "l": 0.30129,
    "c": 0.08316,
    "h": 258.5
  },
  "luminance": 0.02684
}

Semantic roles & 50–950 ramp

primary
#112D57
secondary
#906B34
accent
#A53EEA
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04050B
muted
#797A7C

Preview Lab

Preview with #112D57

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

Preview Lab → · Contrast checker → · Palette generator →

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