#112052#112052

#112052 is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.5% C 0.094 H 267.1°. Best body text is #FFFFFF at 15.53:1 contrast (WCAG AA passes).

Color values

HEX#112052
RGBrgb(17, 32, 82)
HSLhsl(226, 66%, 19%)
HSVhsv(226, 79%, 32%)
CMYKcmyk(79.3%, 61%, 0%, 67.8%)
CIE-LABlab(14.18, 13.90, -32.43)
CIE-LCHlch(14.18, 35.28, 293.21°)
OKLaboklab(26.53% -0.0048 -0.0935)
OKLCHoklch(26.53% 0.094 267.1)
XYZxyz(2.2701, 1.7612, 8.2013)
Luminance0.0176 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112052 #524311
analogous
#114152 #112052 #231152
triadic
#112052 #521120 #205211
tetradic
#112052 #521141 #524311 #115223
square
#112052 #521141 #524311 #115223
split-complementary
#112052 #522311 #415211
monochromatic
#050A19 #060C1F #112052 #1C3485 #2648B7

Accessibility & contrast

On white

15.53
#112052 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#112052 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #112052
15.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112052#FFFFFF#000000##FFFFFF
##1120521.0015.531.3515.53
#FFFFFF15.531.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002754
Deuteranopia (green-blind)
#002151
Tritanopia (blue-blind)
#002C35
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #112052;
/* rgb */ color: rgb(17, 32, 82);
/* oklch */ color: oklch(26.5% 0.094 267.1);
Tailwind
colors: {
  custom: {
    50: '#5a5b83',
    500: '#112052',
    950: '#000000',
  },
}
SCSS
$custom: #112052;
$custom-light: #5a5b83;
$custom-dark: #000000;
JSON
{
  "hex": "#112052",
  "rgb": {
    "r": 17,
    "g": 32,
    "b": 82
  },
  "hsl": {
    "h": 226.154,
    "s": 65.657,
    "l": 19.412
  },
  "oklch": {
    "l": 0.26534,
    "c": 0.09358,
    "h": 267.1
  },
  "luminance": 0.01761
}

Semantic roles & 50–950 ramp

primary
#112052
secondary
#8B7734
accent
#C23FE9
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040A
muted
#79797C

Preview Lab

Preview with #112052

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

Preview Lab → · Contrast checker → · Palette generator →

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