#112B52#112B52

#112B52 is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.2% C 0.078 H 258.5°. Best body text is #FFFFFF at 14.08:1 contrast (WCAG AA passes).

Color values

HEX#112B52
RGBrgb(17, 43, 82)
HSLhsl(216, 66%, 19%)
HSVhsv(216, 79%, 32%)
CMYKcmyk(79.3%, 47.6%, 0%, 67.8%)
CIE-LABlab(17.72, 5.66, -26.73)
CIE-LCHlch(17.72, 27.32, 281.95°)
OKLaboklab(29.23% -0.0156 -0.0765)
OKLCHoklch(29.23% 0.078 258.5)
XYZxyz(2.6175, 2.4558, 8.3171)
Luminance0.0246 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112B52 #523811
analogous
#114C52 #112B52 #181152
triadic
#112B52 #52112B #2B5211
tetradic
#112B52 #52114C #523811 #115218
square
#112B52 #52114C #523811 #115218
split-complementary
#112B52 #521811 #4C5211
monochromatic
#050D19 #06101F #112B52 #1C4685 #2660B7

Accessibility & contrast

On white

14.08
#112B52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #112B52
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112B52#FFFFFF#000000##FFFFFF
##112B521.0014.081.4914.08
#FFFFFF14.081.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182F54
Deuteranopia (green-blind)
#0C2951
Tritanopia (blue-blind)
#00343A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #112b52;
/* rgb */ color: rgb(17, 43, 82);
/* oklch */ color: oklch(29.2% 0.078 258.5);
Tailwind
colors: {
  custom: {
    50: '#596383',
    500: '#112b52',
    950: '#000000',
  },
}
SCSS
$custom: #112b52;
$custom-light: #596383;
$custom-dark: #000000;
JSON
{
  "hex": "#112b52",
  "rgb": {
    "r": 17,
    "g": 43,
    "b": 82
  },
  "hsl": {
    "h": 216,
    "s": 65.657,
    "l": 19.412
  },
  "oklch": {
    "l": 0.29233,
    "c": 0.07803,
    "h": 258.5
  },
  "luminance": 0.02456
}

Semantic roles & 50–950 ramp

primary
#112B52
secondary
#8B6834
accent
#A53FE9
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050A
muted
#79797C

Preview Lab

Preview with #112B52

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

Preview Lab → · Contrast checker → · Palette generator →

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