#112857#112857

#112857 is a dark, moderate blue. Relative luminance 0.023; OKLCH L 28.9% C 0.090 H 262.6°. Best body text is #FFFFFF at 14.33:1 contrast (WCAG AA passes).

Color values

HEX#112857
RGBrgb(17, 40, 87)
HSLhsl(220, 67%, 20%)
HSVhsv(220, 80%, 34%)
CMYKcmyk(80.5%, 54%, 0%, 65.9%)
CIE-LABlab(17.11, 10.04, -31.07)
CIE-LCHlch(17.11, 32.65, 287.92°)
OKLaboklab(28.88% -0.0116 -0.0893)
OKLCHoklch(28.88% 0.09 262.6)
XYZxyz(2.7096, 2.3246, 9.3209)
Luminance0.0232 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112857 #574011
analogous
#114B57 #112857 #1D1157
triadic
#112857 #571128 #285711
tetradic
#112857 #57114B #574011 #11571D
square
#112857 #57114B #574011 #11571D
split-complementary
#112857 #571D11 #4B5711
monochromatic
#050C1A #071024 #112857 #1B408A #2557BD

Accessibility & contrast

On white

14.33
#112857 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#112857 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #112857
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112857#FFFFFF#000000##FFFFFF
##1128571.0014.331.4714.33
#FFFFFF14.331.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C2E59
Deuteranopia (green-blind)
#002756
Tritanopia (blue-blind)
#00333B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #112857;
/* rgb */ color: rgb(17, 40, 87);
/* oklch */ color: oklch(28.9% 0.090 262.6);
Tailwind
colors: {
  custom: {
    50: '#5b6187',
    500: '#112857',
    950: '#000000',
  },
}
SCSS
$custom: #112857;
$custom-light: #5b6187;
$custom-dark: #000000;
JSON
{
  "hex": "#112857",
  "rgb": {
    "r": 17,
    "g": 40,
    "b": 87
  },
  "hsl": {
    "h": 220.286,
    "s": 67.308,
    "l": 20.392
  },
  "oklch": {
    "l": 0.28881,
    "c": 0.09005,
    "h": 262.6
  },
  "luminance": 0.02325
}

Semantic roles & 50–950 ramp

primary
#112857
secondary
#907234
accent
#B13EEA
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #112857

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

Preview Lab → · Contrast checker → · Palette generator →

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