#111F5B#111F5B

#111F5B is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.2% C 0.109 H 268.0°. Best body text is #FFFFFF at 15.32:1 contrast (WCAG AA passes).

Color values

HEX#111F5B
RGBrgb(17, 31, 91)
HSLhsl(229, 69%, 21%)
HSVhsv(229, 81%, 36%)
CMYKcmyk(81.3%, 65.9%, 0%, 64.3%)
CIE-LABlab(14.70, 18.48, -37.65)
CIE-LCHlch(14.70, 41.94, 296.15°)
OKLaboklab(27.18% -0.0037 -0.1088)
OKLCHoklch(27.18% 0.109 268)
XYZxyz(2.6088, 1.8542, 10.1159)
Luminance0.0185 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#111F5B #5B4D11
analogous
#11445B #111F5B #28115B
triadic
#111F5B #5B111F #1F5B11
tetradic
#111F5B #5B1144 #5B4D11 #115B28
square
#111F5B #5B1144 #5B4D11 #115B28
split-complementary
#111F5B #5B2811 #445B11
monochromatic
#05091A #070D27 #111F5B #1B318F #2442C2

Accessibility & contrast

On white

15.32
#111F5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #111F5B
15.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##111F5B#FFFFFF#000000##FFFFFF
##111F5B1.0015.321.3715.32
#FFFFFF15.321.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295D
Deuteranopia (green-blind)
#00225A
Tritanopia (blue-blind)
#002E39
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #111f5b;
/* rgb */ color: rgb(17, 31, 91);
/* oklch */ color: oklch(27.2% 0.109 268.0);
Tailwind
colors: {
  custom: {
    50: '#5c5a8a',
    500: '#111f5b',
    950: '#000000',
  },
}
SCSS
$custom: #111f5b;
$custom-light: #5c5a8a;
$custom-dark: #000000;
JSON
{
  "hex": "#111f5b",
  "rgb": {
    "r": 17,
    "g": 31,
    "b": 91
  },
  "hsl": {
    "h": 228.649,
    "s": 68.519,
    "l": 21.176
  },
  "oklch": {
    "l": 0.2718,
    "c": 0.10886,
    "h": 268
  },
  "luminance": 0.01854
}

Semantic roles & 50–950 ramp

primary
#111F5B
secondary
#948234
accent
#CA3CEB
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #111F5B

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

Preview Lab → · Contrast checker → · Palette generator →

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