#112855#112855

#112855 is a dark, moderate blue. Relative luminance 0.023; OKLCH L 28.7% C 0.087 H 262.1°. Best body text is #FFFFFF at 14.40:1 contrast (WCAG AA passes).

Color values

HEX#112855
RGBrgb(17, 40, 85)
HSLhsl(220, 67%, 20%)
HSVhsv(220, 80%, 33%)
CMYKcmyk(80%, 52.9%, 0%, 66.7%)
CIE-LABlab(16.95, 9.18, -29.97)
CIE-LCHlch(16.95, 31.35, 287.03°)
OKLaboklab(28.72% -0.012 -0.0861)
OKLCHoklch(28.72% 0.087 262.1)
XYZxyz(2.6291, 2.2923, 8.8965)
Luminance0.0229 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112855 #553E11
analogous
#114A55 #112855 #1C1155
triadic
#112855 #551128 #285511
tetradic
#112855 #55114A #553E11 #11551C
square
#112855 #55114A #553E11 #11551C
split-complementary
#112855 #551C11 #4A5511
monochromatic
#050C1A #071022 #112855 #1B4088 #2558BB

Accessibility & contrast

On white

14.40
#112855 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#112855 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #112855
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112855#FFFFFF#000000##FFFFFF
##1128551.0014.401.4614.40
#FFFFFF14.401.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E2D57
Deuteranopia (green-blind)
#002754
Tritanopia (blue-blind)
#00333A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #112855;
/* rgb */ color: rgb(17, 40, 85);
/* oklch */ color: oklch(28.7% 0.087 262.1);
Tailwind
colors: {
  custom: {
    50: '#5a6185',
    500: '#112855',
    950: '#000000',
  },
}
SCSS
$custom: #112855;
$custom-light: #5a6185;
$custom-dark: #000000;
JSON
{
  "hex": "#112855",
  "rgb": {
    "r": 17,
    "g": 40,
    "b": 85
  },
  "hsl": {
    "h": 219.706,
    "s": 66.667,
    "l": 20
  },
  "oklch": {
    "l": 0.28715,
    "c": 0.0869,
    "h": 262.1
  },
  "luminance": 0.02293
}

Semantic roles & 50–950 ramp

primary
#112855
secondary
#8E7034
accent
#B03EEA
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #112855

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

Preview Lab → · Contrast checker → · Palette generator →

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