#112057#112057

#112057 is a dark, moderate blue. Relative luminance 0.018; OKLCH L 27.0% C 0.101 H 267.4°. Best body text is #FFFFFF at 15.35:1 contrast (WCAG AA passes).

Color values

HEX#112057
RGBrgb(17, 32, 87)
HSLhsl(227, 67%, 20%)
HSVhsv(227, 80%, 34%)
CMYKcmyk(80.5%, 63.2%, 0%, 65.9%)
CIE-LABlab(14.62, 16.05, -35.09)
CIE-LCHlch(14.62, 38.58, 294.58°)
OKLaboklab(27.01% -0.0045 -0.1013)
OKLCHoklch(27.01% 0.101 267.4)
XYZxyz(2.4674, 1.8400, 9.2401)
Luminance0.0184 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112057 #574811
analogous
#114357 #112057 #251157
triadic
#112057 #571120 #205711
tetradic
#112057 #571143 #574811 #115725
square
#112057 #571143 #574811 #115725
split-complementary
#112057 #572511 #435711
monochromatic
#05091A #070D24 #112057 #1B338A #2546BD

Accessibility & contrast

On white

15.35
#112057 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #112057
15.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112057#FFFFFF#000000##FFFFFF
##1120571.0015.351.3715.35
#FFFFFF15.351.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #112057;
/* rgb */ color: rgb(17, 32, 87);
/* oklch */ color: oklch(27.0% 0.101 267.4);
Tailwind
colors: {
  custom: {
    50: '#5b5b87',
    500: '#112057',
    950: '#000000',
  },
}
SCSS
$custom: #112057;
$custom-light: #5b5b87;
$custom-dark: #000000;
JSON
{
  "hex": "#112057",
  "rgb": {
    "r": 17,
    "g": 32,
    "b": 87
  },
  "hsl": {
    "h": 227.143,
    "s": 67.308,
    "l": 20.392
  },
  "oklch": {
    "l": 0.27006,
    "c": 0.10137,
    "h": 267.4
  },
  "luminance": 0.0184
}

Semantic roles & 50–950 ramp

primary
#112057
secondary
#907C34
accent
#C53EEA
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #112057

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

Preview Lab → · Contrast checker → · Palette generator →

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