#112A56#112A56

#112A56 is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.3% C 0.086 H 260.8°. Best body text is #FFFFFF at 14.10:1 contrast (WCAG AA passes).

Color values

HEX#112A56
RGBrgb(17, 42, 86)
HSLhsl(218, 67%, 20%)
HSVhsv(218, 80%, 34%)
CMYKcmyk(80.2%, 51.2%, 0%, 66.3%)
CIE-LABlab(17.68, 8.12, -29.48)
CIE-LCHlch(17.68, 30.58, 285.41°)
OKLaboklab(29.29% -0.0137 -0.0846)
OKLCHoklch(29.29% 0.086 260.8)
XYZxyz(2.7382, 2.4467, 9.1302)
Luminance0.0245 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112A56 #563D11
analogous
#114C56 #112A56 #1B1156
triadic
#112A56 #56112A #2A5611
tetradic
#112A56 #56114C #563D11 #11561B
square
#112A56 #56114C #563D11 #11561B
split-complementary
#112A56 #561B11 #4C5611
monochromatic
#050C1A #071123 #112A56 #1B4389 #255CBC

Accessibility & contrast

On white

14.10
#112A56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#112A56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #112A56
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112A56#FFFFFF#000000##FFFFFF
##112A561.0014.101.4914.10
#FFFFFF14.101.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122F58
Deuteranopia (green-blind)
#032855
Tritanopia (blue-blind)
#00343B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #112a56;
/* rgb */ color: rgb(17, 42, 86);
/* oklch */ color: oklch(29.3% 0.086 260.8);
Tailwind
colors: {
  custom: {
    50: '#5a6386',
    500: '#112a56',
    950: '#000000',
  },
}
SCSS
$custom: #112a56;
$custom-light: #5a6386;
$custom-dark: #000000;
JSON
{
  "hex": "#112a56",
  "rgb": {
    "r": 17,
    "g": 42,
    "b": 86
  },
  "hsl": {
    "h": 218.261,
    "s": 66.99,
    "l": 20.196
  },
  "oklch": {
    "l": 0.29294,
    "c": 0.08569,
    "h": 260.8
  },
  "luminance": 0.02447
}

Semantic roles & 50–950 ramp

primary
#112A56
secondary
#8F6E34
accent
#AC3EEA
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #112A56

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

Preview Lab → · Contrast checker → · Palette generator →

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