#111F5C#111F5C

#111F5C is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.3% C 0.110 H 268.1°. Best body text is #FFFFFF at 15.28:1 contrast (WCAG AA passes).

Color values

HEX#111F5C
RGBrgb(17, 31, 92)
HSLhsl(229, 69%, 21%)
HSVhsv(229, 82%, 36%)
CMYKcmyk(81.5%, 66.3%, 0%, 63.9%)
CIE-LABlab(14.80, 18.90, -38.16)
CIE-LCHlch(14.80, 42.59, 296.35°)
OKLaboklab(27.28% -0.0037 -0.1103)
OKLCHoklch(27.28% 0.11 268.1)
XYZxyz(2.6522, 1.8716, 10.3446)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#111F5C #5C4E11
analogous
#11455C #111F5C #29115C
triadic
#111F5C #5C111F #1F5C11
tetradic
#111F5C #5C1145 #5C4E11 #115C29
square
#111F5C #5C1145 #5C4E11 #115C29
split-complementary
#111F5C #5C2911 #455C11
monochromatic
#05091A #070E28 #111F5C #1B3090 #2442C3

Accessibility & contrast

On white

15.28
#111F5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#111F5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #111F5C
15.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##111F5C#FFFFFF#000000##FFFFFF
##111F5C1.0015.281.3715.28
#FFFFFF15.281.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295E
Deuteranopia (green-blind)
#00225B
Tritanopia (blue-blind)
#002F3A
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #111f5c;
/* rgb */ color: rgb(17, 31, 92);
/* oklch */ color: oklch(27.3% 0.110 268.1);
Tailwind
colors: {
  custom: {
    50: '#5d5a8b',
    500: '#111f5c',
    950: '#000000',
  },
}
SCSS
$custom: #111f5c;
$custom-light: #5d5a8b;
$custom-dark: #000000;
JSON
{
  "hex": "#111f5c",
  "rgb": {
    "r": 17,
    "g": 31,
    "b": 92
  },
  "hsl": {
    "h": 228.8,
    "s": 68.807,
    "l": 21.373
  },
  "oklch": {
    "l": 0.2728,
    "c": 0.11036,
    "h": 268.1
  },
  "luminance": 0.01872
}

Semantic roles & 50–950 ramp

primary
#111F5C
secondary
#958334
accent
#CB3CEC
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #111F5C

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

Preview Lab → · Contrast checker → · Palette generator →

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