#111F51#111F51

#111F51 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.2% C 0.093 H 267.6°. Best body text is #FFFFFF at 15.69:1 contrast (WCAG AA passes).

Color values

HEX#111F51
RGBrgb(17, 31, 81)
HSLhsl(227, 65%, 19%)
HSVhsv(227, 79%, 32%)
CMYKcmyk(79%, 61.7%, 0%, 68.2%)
CIE-LABlab(13.79, 14.23, -32.39)
CIE-LCHlch(13.79, 35.38, 293.72°)
OKLaboklab(26.21% -0.0039 -0.0934)
OKLCHoklch(26.21% 0.093 267.6)
XYZxyz(2.2058, 1.6930, 7.9935)
Luminance0.0169 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#111F51 #514311
analogous
#113F51 #111F51 #231151
triadic
#111F51 #51111F #1F5111
tetradic
#111F51 #51113F #514311 #115123
square
#111F51 #51113F #514311 #115123
split-complementary
#111F51 #512311 #3F5111
monochromatic
#050A19 #060C1E #111F51 #1C3284 #2646B6

Accessibility & contrast

On white

15.69
#111F51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#111F51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #111F51
15.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##111F51#FFFFFF#000000##FFFFFF
##111F511.0015.691.3415.69
#FFFFFF15.691.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002653
Deuteranopia (green-blind)
#002050
Tritanopia (blue-blind)
#002B34
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #111f51;
/* rgb */ color: rgb(17, 31, 81);
/* oklch */ color: oklch(26.2% 0.093 267.6);
Tailwind
colors: {
  custom: {
    50: '#5a5a82',
    500: '#111f51',
    950: '#000000',
  },
}
SCSS
$custom: #111f51;
$custom-light: #5a5a82;
$custom-dark: #000000;
JSON
{
  "hex": "#111f51",
  "rgb": {
    "r": 17,
    "g": 31,
    "b": 81
  },
  "hsl": {
    "h": 226.875,
    "s": 65.306,
    "l": 19.216
  },
  "oklch": {
    "l": 0.2621,
    "c": 0.09344,
    "h": 267.6
  },
  "luminance": 0.01693
}

Semantic roles & 50–950 ramp

primary
#111F51
secondary
#8A7734
accent
#C340E8
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030A
muted
#79787C

Preview Lab

Preview with #111F51

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

Preview Lab → · Contrast checker → · Palette generator →

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