#112A4D#112A4D

#112A4D is a dark, moderate blue. Relative luminance 0.023; OKLCH L 28.6% C 0.071 H 257.3°. Best body text is #FFFFFF at 14.36:1 contrast (WCAG AA passes).

Color values

HEX#112A4D
RGBrgb(17, 42, 77)
HSLhsl(215, 64%, 18%)
HSVhsv(215, 78%, 30%)
CMYKcmyk(77.9%, 45.5%, 0%, 69.8%)
CIE-LABlab(17.04, 4.24, -24.43)
CIE-LCHlch(17.04, 24.79, 279.84°)
OKLaboklab(28.6% -0.0157 -0.0697)
OKLCHoklch(28.6% 0.071 257.3)
XYZxyz(2.3982, 2.3107, 7.3394)
Luminance0.0231 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112A4D #4D3411
analogous
#11484D #112A4D #16114D
triadic
#112A4D #4D112A #2A4D11
tetradic
#112A4D #4D1148 #4D3411 #114D16
square
#112A4D #4D1148 #4D3411 #114D16
split-complementary
#112A4D #4D1611 #484D11
monochromatic
#060E19 #060F1B #112A4D #1C457F #2761B1

Accessibility & contrast

On white

14.36
#112A4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#112A4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #112A4D
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112A4D#FFFFFF#000000##FFFFFF
##112A4D1.0014.361.4614.36
#FFFFFF14.361.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192D4E
Deuteranopia (green-blind)
#10274C
Tritanopia (blue-blind)
#003237
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #112a4d;
/* rgb */ color: rgb(17, 42, 77);
/* oklch */ color: oklch(28.6% 0.071 257.3);
Tailwind
colors: {
  custom: {
    50: '#58637f',
    500: '#112a4d',
    950: '#000000',
  },
}
SCSS
$custom: #112a4d;
$custom-light: #58637f;
$custom-dark: #000000;
JSON
{
  "hex": "#112a4d",
  "rgb": {
    "r": 17,
    "g": 42,
    "b": 77
  },
  "hsl": {
    "h": 215,
    "s": 63.83,
    "l": 18.431
  },
  "oklch": {
    "l": 0.28597,
    "c": 0.07149,
    "h": 257.3
  },
  "luminance": 0.02311
}

Semantic roles & 50–950 ramp

primary
#112A4D
secondary
#866433
accent
#A241E7
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#04050A
muted
#79797C

Preview Lab

Preview with #112A4D

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

Preview Lab → · Contrast checker → · Palette generator →

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