#112155#112155

#112155 is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.0% C 0.097 H 266.8°. Best body text is #FFFFFF at 15.30:1 contrast (WCAG AA passes).

Color values

HEX#112155
RGBrgb(17, 33, 85)
HSLhsl(226, 67%, 20%)
HSVhsv(226, 80%, 33%)
CMYKcmyk(80%, 61.2%, 0%, 66.7%)
CIE-LABlab(14.75, 14.44, -33.54)
CIE-LCHlch(14.75, 36.51, 293.29°)
OKLaboklab(27.04% -0.0055 -0.0967)
OKLCHoklch(27.04% 0.097 266.8)
XYZxyz(2.4141, 1.8625, 8.8248)
Luminance0.0186 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112155 #554511
analogous
#114355 #112155 #231155
triadic
#112155 #551121 #215511
tetradic
#112155 #551143 #554511 #115523
square
#112155 #551143 #554511 #115523
split-complementary
#112155 #552311 #435511
monochromatic
#050A1A #070D22 #112155 #1B3588 #2549BB

Accessibility & contrast

On white

15.30
#112155 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#112155 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #112155
15.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112155#FFFFFF#000000##FFFFFF
##1121551.0015.301.3715.30
#FFFFFF15.301.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002857
Deuteranopia (green-blind)
#002254
Tritanopia (blue-blind)
#002E37
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #112155;
/* rgb */ color: rgb(17, 33, 85);
/* oklch */ color: oklch(27.0% 0.097 266.8);
Tailwind
colors: {
  custom: {
    50: '#5b5b85',
    500: '#112155',
    950: '#000000',
  },
}
SCSS
$custom: #112155;
$custom-light: #5b5b85;
$custom-dark: #000000;
JSON
{
  "hex": "#112155",
  "rgb": {
    "r": 17,
    "g": 33,
    "b": 85
  },
  "hsl": {
    "h": 225.882,
    "s": 66.667,
    "l": 20
  },
  "oklch": {
    "l": 0.27043,
    "c": 0.09686,
    "h": 266.8
  },
  "luminance": 0.01863
}

Semantic roles & 50–950 ramp

primary
#112155
secondary
#8E7934
accent
#C13EEA
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #112155

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

Preview Lab → · Contrast checker → · Palette generator →

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