#112757#112757

#112757 is a dark, moderate blue. Relative luminance 0.023; OKLCH L 28.6% C 0.091 H 263.3°. Best body text is #FFFFFF at 14.47:1 contrast (WCAG AA passes).

Color values

HEX#112757
RGBrgb(17, 39, 87)
HSLhsl(221, 67%, 20%)
HSVhsv(221, 80%, 34%)
CMYKcmyk(80.5%, 55.2%, 0%, 65.9%)
CIE-LABlab(16.79, 10.79, -31.58)
CIE-LCHlch(16.79, 33.37, 288.87°)
OKLaboklab(28.64% -0.0107 -0.0908)
OKLCHoklch(28.64% 0.091 263.3)
XYZxyz(2.6764, 2.2580, 9.3098)
Luminance0.0226 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112757 #574111
analogous
#114A57 #112757 #1E1157
triadic
#112757 #571127 #275711
tetradic
#112757 #57114A #574111 #11571E
square
#112757 #57114A #574111 #11571E
split-complementary
#112757 #571E11 #4A5711
monochromatic
#050B1A #071024 #112757 #1B3E8A #2555BD

Accessibility & contrast

On white

14.47
#112757 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#112757 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #112757
14.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112757#FFFFFF#000000##FFFFFF
##1127571.0014.471.4514.47
#FFFFFF14.471.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#092D59
Deuteranopia (green-blind)
#002656
Tritanopia (blue-blind)
#00333A
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #112757;
/* rgb */ color: rgb(17, 39, 87);
/* oklch */ color: oklch(28.6% 0.091 263.3);
Tailwind
colors: {
  custom: {
    50: '#5b6087',
    500: '#112757',
    950: '#000000',
  },
}
SCSS
$custom: #112757;
$custom-light: #5b6087;
$custom-dark: #000000;
JSON
{
  "hex": "#112757",
  "rgb": {
    "r": 17,
    "g": 39,
    "b": 87
  },
  "hsl": {
    "h": 221.143,
    "s": 67.308,
    "l": 20.392
  },
  "oklch": {
    "l": 0.28638,
    "c": 0.09145,
    "h": 263.3
  },
  "luminance": 0.02258
}

Semantic roles & 50–950 ramp

primary
#112757
secondary
#907334
accent
#B43EEA
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #112757

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

Preview Lab → · Contrast checker → · Palette generator →

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