#112C54#112C54

#112C54 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 29.6% C 0.080 H 258.3°. Best body text is #FFFFFF at 13.89:1 contrast (WCAG AA passes).

Color values

HEX#112C54
RGBrgb(17, 44, 84)
HSLhsl(216, 66%, 20%)
HSVhsv(216, 80%, 33%)
CMYKcmyk(79.8%, 47.6%, 0%, 67.1%)
CIE-LABlab(18.19, 5.79, -27.31)
CIE-LCHlch(18.19, 27.92, 281.96°)
OKLaboklab(29.64% -0.0162 -0.0782)
OKLCHoklch(29.64% 0.08 258.3)
XYZxyz(2.7315, 2.5603, 8.7360)
Luminance0.0256 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112C54 #543911
analogous
#114E54 #112C54 #181154
triadic
#112C54 #54112C #2C5411
tetradic
#112C54 #54114E #543911 #115418
square
#112C54 #54114E #543911 #115418
split-complementary
#112C54 #541811 #4E5411
monochromatic
#050D19 #071121 #112C54 #1B4787 #2661BA

Accessibility & contrast

On white

13.89
#112C54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #112C54
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112C54#FFFFFF#000000##FFFFFF
##112C541.0013.891.5113.89
#FFFFFF13.891.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183056
Deuteranopia (green-blind)
#0C2A53
Tritanopia (blue-blind)
#00353B
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #112c54;
/* rgb */ color: rgb(17, 44, 84);
/* oklch */ color: oklch(29.6% 0.080 258.3);
Tailwind
colors: {
  custom: {
    50: '#5a6484',
    500: '#112c54',
    950: '#000000',
  },
}
SCSS
$custom: #112c54;
$custom-light: #5a6484;
$custom-dark: #000000;
JSON
{
  "hex": "#112c54",
  "rgb": {
    "r": 17,
    "g": 44,
    "b": 84
  },
  "hsl": {
    "h": 215.821,
    "s": 66.337,
    "l": 19.804
  },
  "oklch": {
    "l": 0.29643,
    "c": 0.07982,
    "h": 258.3
  },
  "luminance": 0.02561
}

Semantic roles & 50–950 ramp

primary
#112C54
secondary
#8D6934
accent
#A43FE9
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #112C54

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

Preview Lab → · Contrast checker → · Palette generator →

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