#112452#112452

#112452 is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.5% C 0.088 H 264.4°. Best body text is #FFFFFF at 15.02:1 contrast (WCAG AA passes).

Color values

HEX#112452
RGBrgb(17, 36, 82)
HSLhsl(222, 66%, 19%)
HSVhsv(222, 79%, 32%)
CMYKcmyk(79.3%, 56.1%, 0%, 67.8%)
CIE-LABlab(15.43, 10.88, -30.40)
CIE-LCHlch(15.43, 32.29, 289.69°)
OKLaboklab(27.48% -0.0085 -0.0874)
OKLCHoklch(27.48% 0.088 264.4)
XYZxyz(2.3845, 1.9899, 8.2394)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112452 #523F11
analogous
#114552 #112452 #1F1152
triadic
#112452 #521124 #245211
tetradic
#112452 #521145 #523F11 #11521F
square
#112452 #521145 #523F11 #11521F
split-complementary
#112452 #521F11 #455211
monochromatic
#050B19 #060E1F #112452 #1C3A85 #2651B7

Accessibility & contrast

On white

15.02
#112452 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#112452 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #112452
15.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112452#FFFFFF#000000##FFFFFF
##1124521.0015.021.4015.02
#FFFFFF15.021.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#072A54
Deuteranopia (green-blind)
#002451
Tritanopia (blue-blind)
#002F37
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #112452;
/* rgb */ color: rgb(17, 36, 82);
/* oklch */ color: oklch(27.5% 0.088 264.4);
Tailwind
colors: {
  custom: {
    50: '#595e83',
    500: '#112452',
    950: '#000000',
  },
}
SCSS
$custom: #112452;
$custom-light: #595e83;
$custom-dark: #000000;
JSON
{
  "hex": "#112452",
  "rgb": {
    "r": 17,
    "g": 36,
    "b": 82
  },
  "hsl": {
    "h": 222.462,
    "s": 65.657,
    "l": 19.412
  },
  "oklch": {
    "l": 0.27482,
    "c": 0.08782,
    "h": 264.4
  },
  "luminance": 0.0199
}

Semantic roles & 50–950 ramp

primary
#112452
secondary
#8B7234
accent
#B73FE9
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040A
muted
#79797C

Preview Lab

Preview with #112452

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

Preview Lab → · Contrast checker → · Palette generator →

#112452 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva