#112B54#112B54

#112B54 is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.4% C 0.081 H 259.2°. Best body text is #FFFFFF at 14.02:1 contrast (WCAG AA passes).

Color values

HEX#112B54
RGBrgb(17, 43, 84)
HSLhsl(217, 66%, 20%)
HSVhsv(217, 80%, 33%)
CMYKcmyk(79.8%, 48.8%, 0%, 67.1%)
CIE-LABlab(17.86, 6.52, -27.84)
CIE-LCHlch(17.86, 28.60, 283.18°)
OKLaboklab(29.39% -0.0151 -0.0797)
OKLCHoklch(29.39% 0.081 259.2)
XYZxyz(2.6947, 2.4867, 8.7238)
Luminance0.0249 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112B54 #543A11
analogous
#114D54 #112B54 #181154
triadic
#112B54 #54112B #2B5411
tetradic
#112B54 #54114D #543A11 #115418
square
#112B54 #54114D #543A11 #115418
split-complementary
#112B54 #541811 #4D5411
monochromatic
#050D19 #071121 #112B54 #1B4587 #265FBA

Accessibility & contrast

On white

14.02
#112B54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#112B54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #112B54
14.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112B54#FFFFFF#000000##FFFFFF
##112B541.0014.021.5014.02
#FFFFFF14.021.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162F56
Deuteranopia (green-blind)
#092953
Tritanopia (blue-blind)
#00353B
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #112b54;
/* rgb */ color: rgb(17, 43, 84);
/* oklch */ color: oklch(29.4% 0.081 259.2);
Tailwind
colors: {
  custom: {
    50: '#5a6384',
    500: '#112b54',
    950: '#000000',
  },
}
SCSS
$custom: #112b54;
$custom-light: #5a6384;
$custom-dark: #000000;
JSON
{
  "hex": "#112b54",
  "rgb": {
    "r": 17,
    "g": 43,
    "b": 84
  },
  "hsl": {
    "h": 216.716,
    "s": 66.337,
    "l": 19.804
  },
  "oklch": {
    "l": 0.29388,
    "c": 0.08118,
    "h": 259.2
  },
  "luminance": 0.02487
}

Semantic roles & 50–950 ramp

primary
#112B54
secondary
#8D6A34
accent
#A73FE9
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #112B54

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

Preview Lab → · Contrast checker → · Palette generator →

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