#112956#112956

#112956 is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.0% C 0.087 H 261.6°. Best body text is #FFFFFF at 14.23:1 contrast (WCAG AA passes).

Color values

HEX#112956
RGBrgb(17, 41, 86)
HSLhsl(219, 67%, 20%)
HSVhsv(219, 80%, 34%)
CMYKcmyk(80.2%, 52.3%, 0%, 66.3%)
CIE-LABlab(17.35, 8.87, -30.00)
CIE-LCHlch(17.35, 31.28, 286.47°)
OKLaboklab(29.05% -0.0128 -0.0861)
OKLCHoklch(29.05% 0.087 261.6)
XYZxyz(2.7032, 2.3766, 9.1186)
Luminance0.0238 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112956 #563E11
analogous
#114C56 #112956 #1B1156
triadic
#112956 #561129 #295611
tetradic
#112956 #56114C #563E11 #11561B
square
#112956 #56114C #563E11 #11561B
split-complementary
#112956 #561B11 #4C5611
monochromatic
#050C1A #071123 #112956 #1B4189 #255ABC

Accessibility & contrast

On white

14.23
#112956 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#112956 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #112956
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112956#FFFFFF#000000##FFFFFF
##1129561.0014.231.4814.23
#FFFFFF14.231.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#102E58
Deuteranopia (green-blind)
#002855
Tritanopia (blue-blind)
#00343B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #112956;
/* rgb */ color: rgb(17, 41, 86);
/* oklch */ color: oklch(29.0% 0.087 261.6);
Tailwind
colors: {
  custom: {
    50: '#5a6286',
    500: '#112956',
    950: '#000000',
  },
}
SCSS
$custom: #112956;
$custom-light: #5a6286;
$custom-dark: #000000;
JSON
{
  "hex": "#112956",
  "rgb": {
    "r": 17,
    "g": 41,
    "b": 86
  },
  "hsl": {
    "h": 219.13,
    "s": 66.99,
    "l": 20.196
  },
  "oklch": {
    "l": 0.29045,
    "c": 0.08707,
    "h": 261.6
  },
  "luminance": 0.02377
}

Semantic roles & 50–950 ramp

primary
#112956
secondary
#8F6F34
accent
#AE3EEA
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #112956

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

Preview Lab → · Contrast checker → · Palette generator →

#112956 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva