#112873#112873

#112873 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.5% C 0.132 H 265.7°. Best body text is #FFFFFF at 13.33:1 contrast (WCAG AA passes).

Color values

HEX#112873
RGBrgb(17, 40, 115)
HSLhsl(226, 74%, 26%)
HSVhsv(226, 85%, 45%)
CMYKcmyk(85.2%, 65.2%, 0%, 54.9%)
CIE-LABlab(19.53, 21.96, -45.49)
CIE-LCHlch(19.53, 50.51, 295.77°)
OKLaboklab(31.47% -0.0098 -0.1316)
OKLCHoklch(31.47% 0.132 265.7)
XYZxyz(4.0834, 2.8741, 16.5559)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112873 #735C11
analogous
#115973 #112873 #2B1173
triadic
#112873 #731128 #287311
tetradic
#112873 #731159 #735C11 #11732B
square
#112873 #731159 #735C11 #11732B
split-complementary
#112873 #732B11 #597311
monochromatic
#04091B #09153E #112873 #193BA8 #214DDE

Accessibility & contrast

On white

13.33
#112873 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#112873 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #112873
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112873#FFFFFF#000000##FFFFFF
##1128731.0013.331.5813.33
#FFFFFF13.331.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003475
Deuteranopia (green-blind)
#002B72
Tritanopia (blue-blind)
#003C49
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #112873;
/* rgb */ color: rgb(17, 40, 115);
/* oklch */ color: oklch(31.5% 0.132 265.7);
Tailwind
colors: {
  custom: {
    50: '#63619c',
    500: '#112873',
    950: '#000000',
  },
}
SCSS
$custom: #112873;
$custom-light: #63619c;
$custom-dark: #000000;
JSON
{
  "hex": "#112873",
  "rgb": {
    "r": 17,
    "g": 40,
    "b": 115
  },
  "hsl": {
    "h": 225.918,
    "s": 74.242,
    "l": 25.882
  },
  "oklch": {
    "l": 0.31466,
    "c": 0.13202,
    "h": 265.7
  },
  "luminance": 0.02875
}

Semantic roles & 50–950 ramp

primary
#112873
secondary
#AA8F36
accent
#C537F1
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #112873

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

Preview Lab → · Contrast checker → · Palette generator →

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