#112A52#112A52

#112A52 is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.0% C 0.079 H 259.4°. Best body text is #FFFFFF at 14.22:1 contrast (WCAG AA passes).

Color values

HEX#112A52
RGBrgb(17, 42, 82)
HSLhsl(217, 66%, 19%)
HSVhsv(217, 79%, 32%)
CMYKcmyk(79.3%, 48.8%, 0%, 67.8%)
CIE-LABlab(17.39, 6.39, -27.26)
CIE-LCHlch(17.39, 28.00, 283.20°)
OKLaboklab(28.98% -0.0145 -0.078)
OKLCHoklch(28.98% 0.079 259.4)
XYZxyz(2.5816, 2.3840, 8.3051)
Luminance0.0238 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112A52 #523911
analogous
#114B52 #112A52 #191152
triadic
#112A52 #52112A #2A5211
tetradic
#112A52 #52114B #523911 #115219
square
#112A52 #52114B #523911 #115219
split-complementary
#112A52 #521911 #4B5211
monochromatic
#050D19 #06101F #112A52 #1C4485 #265EB7

Accessibility & contrast

On white

14.22
#112A52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#112A52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #112A52
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112A52#FFFFFF#000000##FFFFFF
##112A521.0014.221.4814.22
#FFFFFF14.221.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162E54
Deuteranopia (green-blind)
#092851
Tritanopia (blue-blind)
#00333A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #112a52;
/* rgb */ color: rgb(17, 42, 82);
/* oklch */ color: oklch(29.0% 0.079 259.4);
Tailwind
colors: {
  custom: {
    50: '#596383',
    500: '#112a52',
    950: '#000000',
  },
}
SCSS
$custom: #112a52;
$custom-light: #596383;
$custom-dark: #000000;
JSON
{
  "hex": "#112a52",
  "rgb": {
    "r": 17,
    "g": 42,
    "b": 82
  },
  "hsl": {
    "h": 216.923,
    "s": 65.657,
    "l": 19.412
  },
  "oklch": {
    "l": 0.28977,
    "c": 0.07938,
    "h": 259.4
  },
  "luminance": 0.02384
}

Semantic roles & 50–950 ramp

primary
#112A52
secondary
#8B6A34
accent
#A73FE9
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050A
muted
#79797C

Preview Lab

Preview with #112A52

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

Preview Lab → · Contrast checker → · Palette generator →

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