#112852#112852

#112852 is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.5% C 0.082 H 261.3°. Best body text is #FFFFFF at 14.49:1 contrast (WCAG AA passes).

Color values

HEX#112852
RGBrgb(17, 40, 82)
HSLhsl(219, 66%, 19%)
HSVhsv(219, 79%, 32%)
CMYKcmyk(79.3%, 51.2%, 0%, 67.8%)
CIE-LABlab(16.73, 7.88, -28.31)
CIE-LCHlch(16.73, 29.39, 285.55°)
OKLaboklab(28.47% -0.0125 -0.0812)
OKLCHoklch(28.47% 0.082 261.3)
XYZxyz(2.5124, 2.2457, 8.2821)
Luminance0.0225 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112852 #523B11
analogous
#114952 #112852 #1A1152
triadic
#112852 #521128 #285211
tetradic
#112852 #521149 #523B11 #11521A
square
#112852 #521149 #523B11 #11521A
split-complementary
#112852 #521A11 #495211
monochromatic
#050C19 #060F1F #112852 #1C4185 #2659B7

Accessibility & contrast

On white

14.49
#112852 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#112852 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #112852
14.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112852#FFFFFF#000000##FFFFFF
##1128521.0014.491.4514.49
#FFFFFF14.491.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122C54
Deuteranopia (green-blind)
#042751
Tritanopia (blue-blind)
#003239
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #112852;
/* rgb */ color: rgb(17, 40, 82);
/* oklch */ color: oklch(28.5% 0.082 261.3);
Tailwind
colors: {
  custom: {
    50: '#596183',
    500: '#112852',
    950: '#000000',
  },
}
SCSS
$custom: #112852;
$custom-light: #596183;
$custom-dark: #000000;
JSON
{
  "hex": "#112852",
  "rgb": {
    "r": 17,
    "g": 40,
    "b": 82
  },
  "hsl": {
    "h": 218.769,
    "s": 65.657,
    "l": 19.412
  },
  "oklch": {
    "l": 0.2847,
    "c": 0.08214,
    "h": 261.3
  },
  "luminance": 0.02246
}

Semantic roles & 50–950 ramp

primary
#112852
secondary
#8B6C34
accent
#AD3FE9
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04050A
muted
#79797C

Preview Lab

Preview with #112852

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

Preview Lab → · Contrast checker → · Palette generator →

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