#112771#112771

#112771 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.1% C 0.130 H 266.0°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#112771
RGBrgb(17, 39, 113)
HSLhsl(226, 74%, 25%)
HSVhsv(226, 85%, 44%)
CMYKcmyk(85%, 65.5%, 0%, 55.7%)
CIE-LABlab(19.06, 21.85, -44.96)
CIE-LCHlch(19.06, 49.99, 295.92°)
OKLaboklab(31.06% -0.0092 -0.1301)
OKLCHoklch(31.06% 0.13 266)
XYZxyz(3.9363, 2.7620, 15.9452)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112771 #715B11
analogous
#115771 #112771 #2B1171
triadic
#112771 #711127 #277111
tetradic
#112771 #711157 #715B11 #11712B
square
#112771 #711157 #715B11 #11712B
split-complementary
#112771 #712B11 #577111
monochromatic
#04091B #09153C #112771 #1939A6 #214CDB

Accessibility & contrast

On white

13.53
#112771 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#112771 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #112771
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112771#FFFFFF#000000##FFFFFF
##1127711.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003373
Deuteranopia (green-blind)
#002A70
Tritanopia (blue-blind)
#003A48
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #112771;
/* rgb */ color: rgb(17, 39, 113);
/* oklch */ color: oklch(31.1% 0.130 266.0);
Tailwind
colors: {
  custom: {
    50: '#62609b',
    500: '#112771',
    950: '#000000',
  },
}
SCSS
$custom: #112771;
$custom-light: #62609b;
$custom-dark: #000000;
JSON
{
  "hex": "#112771",
  "rgb": {
    "r": 17,
    "g": 39,
    "b": 113
  },
  "hsl": {
    "h": 226.25,
    "s": 73.846,
    "l": 25.49
  },
  "oklch": {
    "l": 0.3106,
    "c": 0.13046,
    "h": 266
  },
  "luminance": 0.02762
}

Semantic roles & 50–950 ramp

primary
#112771
secondary
#A88E36
accent
#C637F1
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #112771

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

Preview Lab → · Contrast checker → · Palette generator →

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