#111F54#111F54

#111F54 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.5% C 0.098 H 267.8°. Best body text is #FFFFFF at 15.58:1 contrast (WCAG AA passes).

Color values

HEX#111F54
RGBrgb(17, 31, 84)
HSLhsl(227, 66%, 20%)
HSVhsv(227, 80%, 33%)
CMYKcmyk(79.8%, 63.1%, 0%, 67.1%)
CIE-LABlab(14.05, 15.52, -33.99)
CIE-LCHlch(14.05, 37.37, 294.54°)
OKLaboklab(26.49% -0.0038 -0.0981)
OKLCHoklch(26.49% 0.098 267.8)
XYZxyz(2.3208, 1.7390, 8.5991)
Luminance0.0174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#111F54 #544611
analogous
#114054 #111F54 #251154
triadic
#111F54 #54111F #1F5411
tetradic
#111F54 #541140 #544611 #115425
square
#111F54 #541140 #544611 #115425
split-complementary
#111F54 #542511 #405411
monochromatic
#050919 #070C21 #111F54 #1B3287 #2645BA

Accessibility & contrast

On white

15.58
#111F54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#111F54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #111F54
15.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##111F54#FFFFFF#000000##FFFFFF
##111F541.0015.581.3515.58
#FFFFFF15.581.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002756
Deuteranopia (green-blind)
#002153
Tritanopia (blue-blind)
#002C36
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #111f54;
/* rgb */ color: rgb(17, 31, 84);
/* oklch */ color: oklch(26.5% 0.098 267.8);
Tailwind
colors: {
  custom: {
    50: '#5a5a85',
    500: '#111f54',
    950: '#000000',
  },
}
SCSS
$custom: #111f54;
$custom-light: #5a5a85;
$custom-dark: #000000;
JSON
{
  "hex": "#111f54",
  "rgb": {
    "r": 17,
    "g": 31,
    "b": 84
  },
  "hsl": {
    "h": 227.463,
    "s": 66.337,
    "l": 19.804
  },
  "oklch": {
    "l": 0.26494,
    "c": 0.09814,
    "h": 267.8
  },
  "luminance": 0.01739
}

Semantic roles & 50–950 ramp

primary
#111F54
secondary
#8D7A34
accent
#C63FE9
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030B
muted
#79787C

Preview Lab

Preview with #111F54

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

Preview Lab → · Contrast checker → · Palette generator →

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