#112A5D#112A5D

#112A5D is a dark, moderate blue. Relative luminance 0.026; OKLCH L 29.9% C 0.097 H 262.5°. Best body text is #FFFFFF at 13.88:1 contrast (WCAG AA passes).

Color values

HEX#112A5D
RGBrgb(17, 42, 93)
HSLhsl(220, 69%, 22%)
HSVhsv(220, 82%, 36%)
CMYKcmyk(81.7%, 54.8%, 0%, 63.5%)
CIE-LABlab(18.21, 11.15, -33.28)
CIE-LCHlch(18.21, 35.10, 288.53°)
OKLaboklab(29.87% -0.0126 -0.0958)
OKLCHoklch(29.87% 0.097 262.5)
XYZxyz(3.0342, 2.5651, 10.6890)
Luminance0.0256 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112A5D #5D4411
analogous
#11505D #112A5D #1E115D
triadic
#112A5D #5D112A #2A5D11
tetradic
#112A5D #5D1150 #5D4411 #115D1E
square
#112A5D #5D1150 #5D4411 #115D1E
split-complementary
#112A5D #5D1E11 #505D11
monochromatic
#050C1A #081329 #112A5D #1A4191 #2459C4

Accessibility & contrast

On white

13.88
#112A5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#112A5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #112A5D
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112A5D#FFFFFF#000000##FFFFFF
##112A5D1.0013.881.5113.88
#FFFFFF13.881.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09305F
Deuteranopia (green-blind)
#00295C
Tritanopia (blue-blind)
#00363F
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #112a5d;
/* rgb */ color: rgb(17, 42, 93);
/* oklch */ color: oklch(29.9% 0.097 262.5);
Tailwind
colors: {
  custom: {
    50: '#5c638b',
    500: '#112a5d',
    950: '#000000',
  },
}
SCSS
$custom: #112a5d;
$custom-light: #5c638b;
$custom-dark: #000000;
JSON
{
  "hex": "#112a5d",
  "rgb": {
    "r": 17,
    "g": 42,
    "b": 93
  },
  "hsl": {
    "h": 220.263,
    "s": 69.091,
    "l": 21.569
  },
  "oklch": {
    "l": 0.29873,
    "c": 0.09659,
    "h": 262.5
  },
  "luminance": 0.02565
}

Semantic roles & 50–950 ramp

primary
#112A5D
secondary
#967634
accent
#B23CEC
background
#F5F5F8
surface
#E9EAF0
border
#C5C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #112A5D

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

Preview Lab → · Contrast checker → · Palette generator →

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