#112C52#112C52

#112C52 is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.5% C 0.077 H 257.5°. Best body text is #FFFFFF at 13.94:1 contrast (WCAG AA passes).

Color values

HEX#112C52
RGBrgb(17, 44, 82)
HSLhsl(215, 66%, 19%)
HSVhsv(215, 79%, 32%)
CMYKcmyk(79.3%, 46.3%, 0%, 67.8%)
CIE-LABlab(18.05, 4.92, -26.19)
CIE-LCHlch(18.05, 26.65, 280.65°)
OKLaboklab(29.49% -0.0166 -0.0749)
OKLCHoklch(29.49% 0.077 257.5)
XYZxyz(2.6543, 2.5294, 8.3294)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112C52 #523711
analogous
#114D52 #112C52 #171152
triadic
#112C52 #52112C #2C5211
tetradic
#112C52 #52114D #523711 #115217
square
#112C52 #52114D #523711 #115217
split-complementary
#112C52 #521711 #4D5211
monochromatic
#050E19 #06111F #112C52 #1C4785 #2662B7

Accessibility & contrast

On white

13.94
#112C52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#112C52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #112C52
13.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112C52#FFFFFF#000000##FFFFFF
##112C521.0013.941.5113.94
#FFFFFF13.941.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2F53
Deuteranopia (green-blind)
#0E2951
Tritanopia (blue-blind)
#00353B
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #112c52;
/* rgb */ color: rgb(17, 44, 82);
/* oklch */ color: oklch(29.5% 0.077 257.5);
Tailwind
colors: {
  custom: {
    50: '#596483',
    500: '#112c52',
    950: '#000000',
  },
}
SCSS
$custom: #112c52;
$custom-light: #596483;
$custom-dark: #000000;
JSON
{
  "hex": "#112c52",
  "rgb": {
    "r": 17,
    "g": 44,
    "b": 82
  },
  "hsl": {
    "h": 215.077,
    "s": 65.657,
    "l": 19.412
  },
  "oklch": {
    "l": 0.29492,
    "c": 0.0767,
    "h": 257.5
  },
  "luminance": 0.0253
}

Semantic roles & 50–950 ramp

primary
#112C52
secondary
#8B6734
accent
#A23FE9
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050A
muted
#79797C

Preview Lab

Preview with #112C52

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

Preview Lab → · Contrast checker → · Palette generator →

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