#111F4D#111F4D

#111F4D is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.8% C 0.087 H 267.2°. Best body text is #FFFFFF at 15.83:1 contrast (WCAG AA passes).

Color values

HEX#111F4D
RGBrgb(17, 31, 77)
HSLhsl(226, 64%, 18%)
HSVhsv(226, 78%, 30%)
CMYKcmyk(77.9%, 59.7%, 0%, 69.8%)
CIE-LABlab(13.44, 12.51, -30.22)
CIE-LCHlch(13.44, 32.70, 292.49°)
OKLaboklab(25.84% -0.0042 -0.087)
OKLCHoklch(25.84% 0.087 267.2)
XYZxyz(2.0602, 1.6348, 7.2267)
Luminance0.0163 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#111F4D #4D3F11
analogous
#113D4D #111F4D #21114D
triadic
#111F4D #4D111F #1F4D11
tetradic
#111F4D #4D113D #4D3F11 #114D21
square
#111F4D #4D113D #4D3F11 #114D21
split-complementary
#111F4D #4D2111 #3D4D11
monochromatic
#060A19 #060B1B #111F4D #1C337F #2747B1

Accessibility & contrast

On white

15.83
#111F4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#111F4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #111F4D
15.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##111F4D#FFFFFF#000000##FFFFFF
##111F4D1.0015.831.3315.83
#FFFFFF15.831.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00254F
Deuteranopia (green-blind)
#00204C
Tritanopia (blue-blind)
#002A32
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #111f4d;
/* rgb */ color: rgb(17, 31, 77);
/* oklch */ color: oklch(25.8% 0.087 267.2);
Tailwind
colors: {
  custom: {
    50: '#585a7f',
    500: '#111f4d',
    950: '#000000',
  },
}
SCSS
$custom: #111f4d;
$custom-light: #585a7f;
$custom-dark: #000000;
JSON
{
  "hex": "#111f4d",
  "rgb": {
    "r": 17,
    "g": 31,
    "b": 77
  },
  "hsl": {
    "h": 226,
    "s": 63.83,
    "l": 18.431
  },
  "oklch": {
    "l": 0.25841,
    "c": 0.08707,
    "h": 267.2
  },
  "luminance": 0.01635
}

Semantic roles & 50–950 ramp

primary
#111F4D
secondary
#867333
accent
#C041E7
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #111F4D

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

Preview Lab → · Contrast checker → · Palette generator →

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