#112D5F#112D5F

#112D5F is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.8% C 0.096 H 260.9°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#112D5F
RGBrgb(17, 45, 95)
HSLhsl(218, 70%, 22%)
HSVhsv(218, 82%, 37%)
CMYKcmyk(82.1%, 52.6%, 0%, 62.7%)
CIE-LABlab(19.32, 9.80, -32.82)
CIE-LCHlch(19.32, 34.25, 286.64°)
OKLaboklab(30.77% -0.015 -0.0943)
OKLCHoklch(30.77% 0.096 260.9)
XYZxyz(3.2344, 2.8218, 11.1985)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112D5F #5F4311
analogous
#11545F #112D5F #1C115F
triadic
#112D5F #5F112D #2D5F11
tetradic
#112D5F #5F1154 #5F4311 #115F1C
square
#112D5F #5F1154 #5F4311 #115F1C
split-complementary
#112D5F #5F1C11 #545F11
monochromatic
#050C1A #08142B #112D5F #1A4693 #245EC7

Accessibility & contrast

On white

13.42
#112D5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#112D5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #112D5F
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112D5F#FFFFFF#000000##FFFFFF
##112D5F1.0013.421.5613.42
#FFFFFF13.421.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103361
Deuteranopia (green-blind)
#002B5E
Tritanopia (blue-blind)
#003941
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #112d5f;
/* rgb */ color: rgb(17, 45, 95);
/* oklch */ color: oklch(30.8% 0.096 260.9);
Tailwind
colors: {
  custom: {
    50: '#5d658d',
    500: '#112d5f',
    950: '#000000',
  },
}
SCSS
$custom: #112d5f;
$custom-light: #5d658d;
$custom-dark: #000000;
JSON
{
  "hex": "#112d5f",
  "rgb": {
    "r": 17,
    "g": 45,
    "b": 95
  },
  "hsl": {
    "h": 218.462,
    "s": 69.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.30767,
    "c": 0.09553,
    "h": 260.9
  },
  "luminance": 0.02822
}

Semantic roles & 50–950 ramp

primary
#112D5F
secondary
#987434
accent
#AD3BEC
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05050C
muted
#797A7D

Preview Lab

Preview with #112D5F

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

Preview Lab → · Contrast checker → · Palette generator →

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