#112157#112157

#112157 is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.2% C 0.100 H 266.9°. Best body text is #FFFFFF at 15.23:1 contrast (WCAG AA passes).

Color values

HEX#112157
RGBrgb(17, 33, 87)
HSLhsl(226, 67%, 20%)
HSVhsv(226, 80%, 34%)
CMYKcmyk(80.5%, 62.1%, 0%, 65.9%)
CIE-LABlab(14.92, 15.30, -34.60)
CIE-LCHlch(14.92, 37.83, 293.85°)
OKLaboklab(27.23% -0.0054 -0.0998)
OKLCHoklch(27.23% 0.1 266.9)
XYZxyz(2.4947, 1.8947, 9.2492)
Luminance0.0190 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112157 #574711
analogous
#114457 #112157 #241157
triadic
#112157 #571121 #215711
tetradic
#112157 #571144 #574711 #115724
square
#112157 #571144 #574711 #115724
split-complementary
#112157 #572411 #445711
monochromatic
#050A1A #070E24 #112157 #1B348A #2548BD

Accessibility & contrast

On white

15.23
#112157 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#112157 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #112157
15.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112157#FFFFFF#000000##FFFFFF
##1121571.0015.231.3815.23
#FFFFFF15.231.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002959
Deuteranopia (green-blind)
#002256
Tritanopia (blue-blind)
#002E38
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #112157;
/* rgb */ color: rgb(17, 33, 87);
/* oklch */ color: oklch(27.2% 0.100 266.9);
Tailwind
colors: {
  custom: {
    50: '#5b5b87',
    500: '#112157',
    950: '#000000',
  },
}
SCSS
$custom: #112157;
$custom-light: #5b5b87;
$custom-dark: #000000;
JSON
{
  "hex": "#112157",
  "rgb": {
    "r": 17,
    "g": 33,
    "b": 87
  },
  "hsl": {
    "h": 226.286,
    "s": 67.308,
    "l": 20.392
  },
  "oklch": {
    "l": 0.27231,
    "c": 0.09996,
    "h": 266.9
  },
  "luminance": 0.01895
}

Semantic roles & 50–950 ramp

primary
#112157
secondary
#907B34
accent
#C33EEA
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #112157

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

Preview Lab → · Contrast checker → · Palette generator →

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