#111254#111254

#111254 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.9% C 0.115 H 272.8°. Best body text is #FFFFFF at 16.96:1 contrast (WCAG AA passes).

Color values

HEX#111254
RGBrgb(17, 18, 84)
HSLhsl(239, 66%, 20%)
HSVhsv(239, 80%, 33%)
CMYKcmyk(79.8%, 78.6%, 0%, 67.1%)
CIE-LABlab(10.50, 24.91, -39.82)
CIE-LCHlch(10.50, 46.97, 302.03°)
OKLaboklab(23.89% 0.0056 -0.1152)
OKLCHoklch(23.89% 0.115 272.8)
XYZxyz(2.0472, 1.1917, 8.5079)
Luminance0.0119 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#111254 #545311
analogous
#113454 #111254 #311154
triadic
#111254 #541112 #125411
tetradic
#111254 #541134 #545311 #115431
square
#111254 #541134 #545311 #115431
split-complementary
#111254 #543111 #345411
monochromatic
#050519 #070721 #111254 #1B1D87 #2628BA

Accessibility & contrast

On white

16.96
#111254 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#111254 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #111254
16.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##111254#FFFFFF#000000##FFFFFF
##1112541.0016.961.2416.96
#FFFFFF16.961.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002056
Deuteranopia (green-blind)
#001953
Tritanopia (blue-blind)
#002531
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #111254;
/* rgb */ color: rgb(17, 18, 84);
/* oklch */ color: oklch(23.9% 0.115 272.8);
Tailwind
colors: {
  custom: {
    50: '#5c5085',
    500: '#111254',
    950: '#000000',
  },
}
SCSS
$custom: #111254;
$custom-light: #5c5085;
$custom-dark: #000000;
JSON
{
  "hex": "#111254",
  "rgb": {
    "r": 17,
    "g": 18,
    "b": 84
  },
  "hsl": {
    "h": 239.104,
    "s": 66.337,
    "l": 19.804
  },
  "oklch": {
    "l": 0.2389,
    "c": 0.11536,
    "h": 272.8
  },
  "luminance": 0.01192
}

Semantic roles & 50–950 ramp

primary
#111254
secondary
#8D8C34
accent
#E73FE9
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05020B
muted
#79787C

Preview Lab

Preview with #111254

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

Preview Lab → · Contrast checker → · Palette generator →

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