#112957#112957

#112957 is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.1% C 0.089 H 261.8°. Best body text is #FFFFFF at 14.20:1 contrast (WCAG AA passes).

Color values

HEX#112957
RGBrgb(17, 41, 87)
HSLhsl(219, 67%, 20%)
HSVhsv(219, 80%, 34%)
CMYKcmyk(80.5%, 52.9%, 0%, 65.9%)
CIE-LABlab(17.43, 9.30, -30.55)
CIE-LCHlch(17.43, 31.93, 286.93°)
OKLaboklab(29.13% -0.0126 -0.0877)
OKLCHoklch(29.13% 0.089 261.8)
XYZxyz(2.7438, 2.3929, 9.3322)
Luminance0.0239 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112957 #573F11
analogous
#114C57 #112957 #1C1157
triadic
#112957 #571129 #295711
tetradic
#112957 #57114C #573F11 #11571C
square
#112957 #57114C #573F11 #11571C
split-complementary
#112957 #571C11 #4C5711
monochromatic
#050C1A #071124 #112957 #1B418A #2559BD

Accessibility & contrast

On white

14.20
#112957 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#112957 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #112957
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112957#FFFFFF#000000##FFFFFF
##1129571.0014.201.4814.20
#FFFFFF14.201.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F2E59
Deuteranopia (green-blind)
#002856
Tritanopia (blue-blind)
#00343B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #112957;
/* rgb */ color: rgb(17, 41, 87);
/* oklch */ color: oklch(29.1% 0.089 261.8);
Tailwind
colors: {
  custom: {
    50: '#5b6287',
    500: '#112957',
    950: '#000000',
  },
}
SCSS
$custom: #112957;
$custom-light: #5b6287;
$custom-dark: #000000;
JSON
{
  "hex": "#112957",
  "rgb": {
    "r": 17,
    "g": 41,
    "b": 87
  },
  "hsl": {
    "h": 219.429,
    "s": 67.308,
    "l": 20.392
  },
  "oklch": {
    "l": 0.29127,
    "c": 0.08864,
    "h": 261.8
  },
  "luminance": 0.02393
}

Semantic roles & 50–950 ramp

primary
#112957
secondary
#907034
accent
#AF3EEA
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #112957

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

Preview Lab → · Contrast checker → · Palette generator →

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