#111852#111852

#111852 is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.8% C 0.105 H 271.0°. Best body text is #FFFFFF at 16.45:1 contrast (WCAG AA passes).

Color values

HEX#111852
RGBrgb(17, 24, 82)
HSLhsl(234, 66%, 19%)
HSVhsv(234, 79%, 32%)
CMYKcmyk(79.3%, 70.7%, 0%, 67.8%)
CIE-LABlab(11.83, 19.89, -36.26)
CIE-LCHlch(11.83, 41.36, 298.75°)
OKLaboklab(24.79% 0.0019 -0.1048)
OKLCHoklch(24.79% 0.105 271)
XYZxyz(2.0803, 1.3814, 8.1380)
Luminance0.0138 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#111852 #524B11
analogous
#113952 #111852 #2A1152
triadic
#111852 #521118 #185211
tetradic
#111852 #521139 #524B11 #11522A
square
#111852 #521139 #524B11 #11522A
split-complementary
#111852 #522A11 #395211
monochromatic
#050719 #06091F #111852 #1C2785 #2636B7

Accessibility & contrast

On white

16.45
#111852 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#111852 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #111852
16.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##111852#FFFFFF#000000##FFFFFF
##1118521.0016.451.2816.45
#FFFFFF16.451.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002254
Deuteranopia (green-blind)
#001C51
Tritanopia (blue-blind)
#002732
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #111852;
/* rgb */ color: rgb(17, 24, 82);
/* oklch */ color: oklch(24.8% 0.105 271.0);
Tailwind
colors: {
  custom: {
    50: '#5b5483',
    500: '#111852',
    950: '#000000',
  },
}
SCSS
$custom: #111852;
$custom-light: #5b5483;
$custom-dark: #000000;
JSON
{
  "hex": "#111852",
  "rgb": {
    "r": 17,
    "g": 24,
    "b": 82
  },
  "hsl": {
    "h": 233.538,
    "s": 65.657,
    "l": 19.412
  },
  "oklch": {
    "l": 0.24792,
    "c": 0.10482,
    "h": 271
  },
  "luminance": 0.01382
}

Semantic roles & 50–950 ramp

primary
#111852
secondary
#8B8234
accent
#D63FE9
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#04020B
muted
#79787C

Preview Lab

Preview with #111852

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

Preview Lab → · Contrast checker → · Palette generator →

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