#111F4F#111F4F

#111F4F is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.0% C 0.090 H 267.4°. Best body text is #FFFFFF at 15.76:1 contrast (WCAG AA passes).

Color values

HEX#111F4F
RGBrgb(17, 31, 79)
HSLhsl(226, 65%, 19%)
HSVhsv(226, 78%, 31%)
CMYKcmyk(78.5%, 60.8%, 0%, 69%)
CIE-LABlab(13.61, 13.37, -31.31)
CIE-LCHlch(13.61, 34.05, 293.13°)
OKLaboklab(26.02% -0.004 -0.0902)
OKLCHoklch(26.02% 0.09 267.4)
XYZxyz(2.1319, 1.6634, 7.6043)
Luminance0.0166 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#111F4F #4F4111
analogous
#113E4F #111F4F #22114F
triadic
#111F4F #4F111F #1F4F11
tetradic
#111F4F #4F113E #4F4111 #114F22
square
#111F4F #4F113E #4F4111 #114F22
split-complementary
#111F4F #4F2211 #3E4F11
monochromatic
#050A19 #060B1D #111F4F #1C3381 #2747B4

Accessibility & contrast

On white

15.76
#111F4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #111F4F
15.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##111F4F#FFFFFF#000000##FFFFFF
##111F4F1.0015.761.3315.76
#FFFFFF15.761.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002651
Deuteranopia (green-blind)
#00204E
Tritanopia (blue-blind)
#002B33
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #111f4f;
/* rgb */ color: rgb(17, 31, 79);
/* oklch */ color: oklch(26.0% 0.090 267.4);
Tailwind
colors: {
  custom: {
    50: '#595a81',
    500: '#111f4f',
    950: '#000000',
  },
}
SCSS
$custom: #111f4f;
$custom-light: #595a81;
$custom-dark: #000000;
JSON
{
  "hex": "#111f4f",
  "rgb": {
    "r": 17,
    "g": 31,
    "b": 79
  },
  "hsl": {
    "h": 226.452,
    "s": 64.583,
    "l": 18.824
  },
  "oklch": {
    "l": 0.26024,
    "c": 0.09027,
    "h": 267.4
  },
  "luminance": 0.01664
}

Semantic roles & 50–950 ramp

primary
#111F4F
secondary
#887533
accent
#C240E8
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #111F4F

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

Preview Lab → · Contrast checker → · Palette generator →

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