#111F42#111F42

#111F42 is a very dark, moderate blue. Relative luminance 0.015; OKLCH L 24.9% C 0.069 H 265.3°. Best body text is #FFFFFF at 16.17:1 contrast (WCAG AA passes).

Color values

HEX#111F42
RGBrgb(17, 31, 66)
HSLhsl(223, 59%, 16%)
HSVhsv(223, 74%, 26%)
CMYKcmyk(74.2%, 53%, 0%, 74.1%)
CIE-LABlab(12.56, 7.77, -24.02)
CIE-LCHlch(12.56, 25.24, 287.92°)
OKLaboklab(24.89% -0.0056 -0.0687)
OKLCHoklch(24.89% 0.069 265.3)
XYZxyz(1.7042, 1.4923, 5.3514)
Luminance0.0149 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#111F42 #423411
analogous
#113842 #111F42 #1C1142
triadic
#111F42 #42111F #1F4211
tetradic
#111F42 #421138 #423411 #11421C
square
#111F42 #421138 #423411 #11421C
split-complementary
#111F42 #421C11 #384211
monochromatic
#060B18 #060B18 #111F42 #1E3673 #2A4DA3

Accessibility & contrast

On white

16.17
#111F42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#111F42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #111F42
16.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##111F42#FFFFFF#000000##FFFFFF
##111F421.0016.171.3016.17
#FFFFFF16.171.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D2343
Deuteranopia (green-blind)
#051F41
Tritanopia (blue-blind)
#00272D
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #111f42;
/* rgb */ color: rgb(17, 31, 66);
/* oklch */ color: oklch(24.9% 0.069 265.3);
Tailwind
colors: {
  custom: {
    50: '#565a76',
    500: '#111f42',
    950: '#000000',
  },
}
SCSS
$custom: #111f42;
$custom-light: #565a76;
$custom-dark: #000000;
JSON
{
  "hex": "#111f42",
  "rgb": {
    "r": 17,
    "g": 31,
    "b": 66
  },
  "hsl": {
    "h": 222.857,
    "s": 59.036,
    "l": 16.275
  },
  "oklch": {
    "l": 0.24891,
    "c": 0.06896,
    "h": 265.3
  },
  "luminance": 0.01492
}

Semantic roles & 50–950 ramp

primary
#111F42
secondary
#7C6733
accent
#B546E2
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030308
muted
#78787B

Preview Lab

Preview with #111F42

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

Preview Lab → · Contrast checker → · Palette generator →

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