#112252#112252

#112252 is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.0% C 0.091 H 265.8°. Best body text is #FFFFFF at 15.28:1 contrast (WCAG AA passes).

Color values

HEX#112252
RGBrgb(17, 34, 82)
HSLhsl(224, 66%, 19%)
HSVhsv(224, 79%, 32%)
CMYKcmyk(79.3%, 58.5%, 0%, 67.8%)
CIE-LABlab(14.80, 12.39, -31.42)
CIE-LCHlch(14.80, 33.78, 291.52°)
OKLaboklab(27% -0.0066 -0.0905)
OKLCHoklch(27% 0.091 265.8)
XYZxyz(2.3257, 1.8722, 8.2198)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112252 #524111
analogous
#114352 #112252 #211152
triadic
#112252 #521122 #225211
tetradic
#112252 #521143 #524111 #115221
square
#112252 #521143 #524111 #115221
split-complementary
#112252 #522111 #435211
monochromatic
#050B19 #060D1F #112252 #1C3785 #264CB7

Accessibility & contrast

On white

15.28
#112252 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#112252 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #112252
15.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112252#FFFFFF#000000##FFFFFF
##1122521.0015.281.3715.28
#FFFFFF15.281.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#012854
Deuteranopia (green-blind)
#002251
Tritanopia (blue-blind)
#002E36
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #112252;
/* rgb */ color: rgb(17, 34, 82);
/* oklch */ color: oklch(27.0% 0.091 265.8);
Tailwind
colors: {
  custom: {
    50: '#5a5c83',
    500: '#112252',
    950: '#000000',
  },
}
SCSS
$custom: #112252;
$custom-light: #5a5c83;
$custom-dark: #000000;
JSON
{
  "hex": "#112252",
  "rgb": {
    "r": 17,
    "g": 34,
    "b": 82
  },
  "hsl": {
    "h": 224.308,
    "s": 65.657,
    "l": 19.412
  },
  "oklch": {
    "l": 0.27002,
    "c": 0.0907,
    "h": 265.8
  },
  "luminance": 0.01872
}

Semantic roles & 50–950 ramp

primary
#112252
secondary
#8B7434
accent
#BC3FE9
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040A
muted
#79797C

Preview Lab

Preview with #112252

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

Preview Lab → · Contrast checker → · Palette generator →

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