#111F52#111F52

#111F52 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.3% C 0.095 H 267.7°. Best body text is #FFFFFF at 15.65:1 contrast (WCAG AA passes).

Color values

HEX#111F52
RGBrgb(17, 31, 82)
HSLhsl(227, 66%, 19%)
HSVhsv(227, 79%, 32%)
CMYKcmyk(79.3%, 62.2%, 0%, 67.8%)
CIE-LABlab(13.87, 14.66, -32.93)
CIE-LCHlch(13.87, 36.04, 294.00°)
OKLaboklab(26.3% -0.0039 -0.0949)
OKLCHoklch(26.3% 0.095 267.7)
XYZxyz(2.2436, 1.7081, 8.1925)
Luminance0.0171 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#111F52 #524411
analogous
#114052 #111F52 #241152
triadic
#111F52 #52111F #1F5211
tetradic
#111F52 #521140 #524411 #115224
square
#111F52 #521140 #524411 #115224
split-complementary
#111F52 #522411 #405211
monochromatic
#050A19 #060C1F #111F52 #1C3285 #2645B7

Accessibility & contrast

On white

15.65
#111F52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#111F52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #111F52
15.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##111F52#FFFFFF#000000##FFFFFF
##111F521.0015.651.3415.65
#FFFFFF15.651.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002654
Deuteranopia (green-blind)
#002051
Tritanopia (blue-blind)
#002C35
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #111f52;
/* rgb */ color: rgb(17, 31, 82);
/* oklch */ color: oklch(26.3% 0.095 267.7);
Tailwind
colors: {
  custom: {
    50: '#5a5a83',
    500: '#111f52',
    950: '#000000',
  },
}
SCSS
$custom: #111f52;
$custom-light: #5a5a83;
$custom-dark: #000000;
JSON
{
  "hex": "#111f52",
  "rgb": {
    "r": 17,
    "g": 31,
    "b": 82
  },
  "hsl": {
    "h": 227.077,
    "s": 65.657,
    "l": 19.412
  },
  "oklch": {
    "l": 0.26304,
    "c": 0.09501,
    "h": 267.7
  },
  "luminance": 0.01708
}

Semantic roles & 50–950 ramp

primary
#111F52
secondary
#8B7834
accent
#C43FE9
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030B
muted
#79787C

Preview Lab

Preview with #111F52

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

Preview Lab → · Contrast checker → · Palette generator →

#111F52 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva