#111252#111252

#111252 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.7% C 0.113 H 273.1°. Best body text is #FFFFFF at 17.04:1 contrast (WCAG AA passes).

Color values

HEX#111252
RGBrgb(17, 18, 82)
HSLhsl(239, 66%, 19%)
HSVhsv(239, 79%, 32%)
CMYKcmyk(79.3%, 78%, 0%, 67.8%)
CIE-LABlab(10.27, 24.13, -38.83)
CIE-LCHlch(10.27, 45.72, 301.86°)
OKLaboklab(23.66% 0.006 -0.1123)
OKLCHoklch(23.66% 0.113 273.1)
XYZxyz(1.9700, 1.1608, 8.1012)
Luminance0.0116 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#111252 #525111
analogous
#113352 #111252 #311152
triadic
#111252 #521112 #125211
tetradic
#111252 #521133 #525111 #115231
square
#111252 #521133 #525111 #115231
split-complementary
#111252 #523111 #335211
monochromatic
#050619 #06071F #111252 #1C1D85 #2628B7

Accessibility & contrast

On white

17.04
#111252 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#111252 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #111252
17.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##111252#FFFFFF#000000##FFFFFF
##1112521.0017.041.2317.04
#FFFFFF17.041.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F54
Deuteranopia (green-blind)
#001951
Tritanopia (blue-blind)
#002430
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #111252;
/* rgb */ color: rgb(17, 18, 82);
/* oklch */ color: oklch(23.7% 0.113 273.1);
Tailwind
colors: {
  custom: {
    50: '#5b5083',
    500: '#111252',
    950: '#000000',
  },
}
SCSS
$custom: #111252;
$custom-light: #5b5083;
$custom-dark: #000000;
JSON
{
  "hex": "#111252",
  "rgb": {
    "r": 17,
    "g": 18,
    "b": 82
  },
  "hsl": {
    "h": 239.077,
    "s": 65.657,
    "l": 19.412
  },
  "oklch": {
    "l": 0.23656,
    "c": 0.1125,
    "h": 273.1
  },
  "luminance": 0.01161
}

Semantic roles & 50–950 ramp

primary
#111252
secondary
#8B8A34
accent
#E63FE9
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#04020B
muted
#79787C

Preview Lab

Preview with #111252

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

Preview Lab → · Contrast checker → · Palette generator →

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