#111140#111140

#111140 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.5% C 0.087 H 276.2°. Best body text is #FFFFFF at 17.83:1 contrast (WCAG AA passes).

Color values

HEX#111140
RGBrgb(17, 17, 64)
HSLhsl(240, 58%, 16%)
HSVhsv(240, 73%, 25%)
CMYKcmyk(73.4%, 73.4%, 0%, 74.9%)
CIE-LABlab(8.04, 17.67, -29.93)
CIE-LCHlch(8.04, 34.76, 300.55°)
OKLaboklab(21.45% 0.0094 -0.0863)
OKLCHoklch(21.45% 0.087 276.2)
XYZxyz(1.3567, 0.8901, 4.9498)
Luminance0.0089 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#111140 #404011
analogous
#112840 #111140 #281140
triadic
#111140 #401111 #114011
tetradic
#111140 #401128 #404011 #114028
square
#111140 #401128 #404011 #114028
split-complementary
#111140 #402811 #284011
monochromatic
#060618 #060618 #111140 #1E1E70 #2B2BA1

Accessibility & contrast

On white

17.83
#111140 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#111140 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #111140
17.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##111140#FFFFFF#000000##FFFFFF
##1111401.0017.831.1817.83
#FFFFFF17.831.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A41
Deuteranopia (green-blind)
#00163F
Tritanopia (blue-blind)
#001D26
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #111140;
/* rgb */ color: rgb(17, 17, 64);
/* oklch */ color: oklch(21.5% 0.087 276.2);
Tailwind
colors: {
  custom: {
    50: '#564f75',
    500: '#111140',
    950: '#000000',
  },
}
SCSS
$custom: #111140;
$custom-light: #564f75;
$custom-dark: #000000;
JSON
{
  "hex": "#111140",
  "rgb": {
    "r": 17,
    "g": 17,
    "b": 64
  },
  "hsl": {
    "h": 240,
    "s": 58.025,
    "l": 15.882
  },
  "oklch": {
    "l": 0.21452,
    "c": 0.08681,
    "h": 276.2
  },
  "luminance": 0.0089
}

Semantic roles & 50–950 ramp

primary
#111140
secondary
#797933
accent
#E147E1
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #111140

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

Preview Lab → · Contrast checker → · Palette generator →

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