#112A51#112A51

#112A51 is a dark, moderate blue. Relative luminance 0.024; OKLCH L 28.9% C 0.078 H 259.1°. Best body text is #FFFFFF at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#112A51
RGBrgb(17, 42, 81)
HSLhsl(217, 65%, 19%)
HSVhsv(217, 79%, 32%)
CMYKcmyk(79%, 48.1%, 0%, 68.2%)
CIE-LABlab(17.32, 5.96, -26.70)
CIE-LCHlch(17.32, 27.35, 282.59°)
OKLaboklab(28.9% -0.0148 -0.0764)
OKLCHoklch(28.9% 0.078 259.1)
XYZxyz(2.5438, 2.3689, 8.1062)
Luminance0.0237 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112A51 #513811
analogous
#114A51 #112A51 #181151
triadic
#112A51 #51112A #2A5111
tetradic
#112A51 #51114A #513811 #115118
square
#112A51 #51114A #513811 #115118
split-complementary
#112A51 #511811 #4A5111
monochromatic
#050D19 #06101E #112A51 #1C4484 #265EB6

Accessibility & contrast

On white

14.25
#112A51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#112A51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #112A51
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112A51#FFFFFF#000000##FFFFFF
##112A511.0014.251.4714.25
#FFFFFF14.251.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172E52
Deuteranopia (green-blind)
#0B2850
Tritanopia (blue-blind)
#003339
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #112a51;
/* rgb */ color: rgb(17, 42, 81);
/* oklch */ color: oklch(28.9% 0.078 259.1);
Tailwind
colors: {
  custom: {
    50: '#596382',
    500: '#112a51',
    950: '#000000',
  },
}
SCSS
$custom: #112a51;
$custom-light: #596382;
$custom-dark: #000000;
JSON
{
  "hex": "#112a51",
  "rgb": {
    "r": 17,
    "g": 42,
    "b": 81
  },
  "hsl": {
    "h": 216.563,
    "s": 65.306,
    "l": 19.216
  },
  "oklch": {
    "l": 0.289,
    "c": 0.0778,
    "h": 259.1
  },
  "luminance": 0.02369
}

Semantic roles & 50–950 ramp

primary
#112A51
secondary
#8A6834
accent
#A640E8
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050A
muted
#79797C

Preview Lab

Preview with #112A51

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

Preview Lab → · Contrast checker → · Palette generator →

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