#111772#111772

#111772 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.3% C 0.151 H 269.3°. Best body text is #FFFFFF at 15.11:1 contrast (WCAG AA passes).

Color values

HEX#111772
RGBrgb(17, 23, 114)
HSLhsl(236, 74%, 26%)
HSVhsv(236, 85%, 45%)
CMYKcmyk(85.1%, 79.8%, 0%, 55.3%)
CIE-LABlab(15.20, 33.01, -51.97)
CIE-LCHlch(15.20, 61.57, 302.42°)
OKLaboklab(28.29% -0.002 -0.1506)
OKLCHoklch(28.29% 0.151 269.3)
XYZxyz(3.5738, 1.9464, 16.1037)
Luminance0.0195 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#111772 #726C11
analogous
#114772 #111772 #3B1172
triadic
#111772 #721117 #177211
tetradic
#111772 #721147 #726C11 #11723B
square
#111772 #721147 #726C11 #11723B
split-complementary
#111772 #723B11 #477211
monochromatic
#04051B #090C3D #111772 #1922A7 #212CDD

Accessibility & contrast

On white

15.11
#111772 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#111772 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #111772
15.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##111772#FFFFFF#000000##FFFFFF
##1117721.0015.111.3915.11
#FFFFFF15.111.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B75
Deuteranopia (green-blind)
#002170
Tritanopia (blue-blind)
#003244
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #111772;
/* rgb */ color: rgb(17, 23, 114);
/* oklch */ color: oklch(28.3% 0.151 269.3);
Tailwind
colors: {
  custom: {
    50: '#64559c',
    500: '#111772',
    950: '#000000',
  },
}
SCSS
$custom: #111772;
$custom-light: #64559c;
$custom-dark: #000000;
JSON
{
  "hex": "#111772",
  "rgb": {
    "r": 17,
    "g": 23,
    "b": 114
  },
  "hsl": {
    "h": 236.289,
    "s": 74.046,
    "l": 25.686
  },
  "oklch": {
    "l": 0.28294,
    "c": 0.15057,
    "h": 269.3
  },
  "luminance": 0.01947
}

Semantic roles & 50–950 ramp

primary
#111772
secondary
#A9A236
accent
#E537F1
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #111772

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

Preview Lab → · Contrast checker → · Palette generator →

#111772 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva