#112A57#112A57

#112A57 is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.4% C 0.087 H 261.1°. Best body text is #FFFFFF at 14.07:1 contrast (WCAG AA passes).

Color values

HEX#112A57
RGBrgb(17, 42, 87)
HSLhsl(219, 67%, 20%)
HSVhsv(219, 80%, 34%)
CMYKcmyk(80.5%, 51.7%, 0%, 65.9%)
CIE-LABlab(17.75, 8.56, -30.03)
CIE-LCHlch(17.75, 31.22, 285.91°)
OKLaboklab(29.37% -0.0136 -0.0862)
OKLCHoklch(29.37% 0.087 261.1)
XYZxyz(2.7788, 2.4629, 9.3439)
Luminance0.0246 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112A57 #573E11
analogous
#114D57 #112A57 #1B1157
triadic
#112A57 #57112A #2A5711
tetradic
#112A57 #57114D #573E11 #11571B
square
#112A57 #57114D #573E11 #11571B
split-complementary
#112A57 #571B11 #4D5711
monochromatic
#050C1A #071124 #112A57 #1B438A #255BBD

Accessibility & contrast

On white

14.07
#112A57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#112A57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #112A57
14.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112A57#FFFFFF#000000##FFFFFF
##112A571.0014.071.4914.07
#FFFFFF14.071.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#112F59
Deuteranopia (green-blind)
#012856
Tritanopia (blue-blind)
#00353C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #112a57;
/* rgb */ color: rgb(17, 42, 87);
/* oklch */ color: oklch(29.4% 0.087 261.1);
Tailwind
colors: {
  custom: {
    50: '#5a6387',
    500: '#112a57',
    950: '#000000',
  },
}
SCSS
$custom: #112a57;
$custom-light: #5a6387;
$custom-dark: #000000;
JSON
{
  "hex": "#112a57",
  "rgb": {
    "r": 17,
    "g": 42,
    "b": 87
  },
  "hsl": {
    "h": 218.571,
    "s": 67.308,
    "l": 20.392
  },
  "oklch": {
    "l": 0.29374,
    "c": 0.08725,
    "h": 261.1
  },
  "luminance": 0.02463
}

Semantic roles & 50–950 ramp

primary
#112A57
secondary
#906F34
accent
#AD3EEA
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #112A57

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

Preview Lab → · Contrast checker → · Palette generator →

#112A57 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva