#112774#112774

#112774 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.4% C 0.135 H 266.1°. Best body text is #FFFFFF at 13.41:1 contrast (WCAG AA passes).

Color values

HEX#112774
RGBrgb(17, 39, 116)
HSLhsl(227, 74%, 26%)
HSVhsv(227, 85%, 45%)
CMYKcmyk(85.3%, 66.4%, 0%, 54.5%)
CIE-LABlab(19.35, 23.09, -46.42)
CIE-LCHlch(19.35, 51.85, 296.44°)
OKLaboklab(31.36% -0.0092 -0.1344)
OKLCHoklch(31.36% 0.135 266.1)
XYZxyz(4.1080, 2.8307, 16.8495)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112774 #745E11
analogous
#115874 #112774 #2C1174
triadic
#112774 #741127 #277411
tetradic
#112774 #741158 #745E11 #11742C
square
#112774 #741158 #745E11 #11742C
split-complementary
#112774 #742C11 #587411
monochromatic
#04091B #09153F #112774 #1939A9 #214BDE

Accessibility & contrast

On white

13.41
#112774 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#112774 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #112774
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112774#FFFFFF#000000##FFFFFF
##1127741.0013.411.5713.41
#FFFFFF13.411.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003476
Deuteranopia (green-blind)
#002A73
Tritanopia (blue-blind)
#003B49
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #112774;
/* rgb */ color: rgb(17, 39, 116);
/* oklch */ color: oklch(31.4% 0.135 266.1);
Tailwind
colors: {
  custom: {
    50: '#63609d',
    500: '#112774',
    950: '#000000',
  },
}
SCSS
$custom: #112774;
$custom-light: #63609d;
$custom-dark: #000000;
JSON
{
  "hex": "#112774",
  "rgb": {
    "r": 17,
    "g": 39,
    "b": 116
  },
  "hsl": {
    "h": 226.667,
    "s": 74.436,
    "l": 26.078
  },
  "oklch": {
    "l": 0.31362,
    "c": 0.13472,
    "h": 266.1
  },
  "luminance": 0.02831
}

Semantic roles & 50–950 ramp

primary
#112774
secondary
#AB9136
accent
#C837F1
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #112774

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

Preview Lab → · Contrast checker → · Palette generator →

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