#112874#112874

#112874 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.6% C 0.133 H 265.8°. Best body text is #FFFFFF at 13.29:1 contrast (WCAG AA passes).

Color values

HEX#112874
RGBrgb(17, 40, 116)
HSLhsl(226, 74%, 26%)
HSVhsv(226, 85%, 45%)
CMYKcmyk(85.3%, 65.5%, 0%, 54.5%)
CIE-LABlab(19.63, 22.37, -45.97)
CIE-LCHlch(19.63, 51.13, 295.95°)
OKLaboklab(31.57% -0.0098 -0.1331)
OKLCHoklch(31.57% 0.133 265.8)
XYZxyz(4.1412, 2.8972, 16.8606)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112874 #745D11
analogous
#115974 #112874 #2B1174
triadic
#112874 #741128 #287411
tetradic
#112874 #741159 #745D11 #11742B
square
#112874 #741159 #745D11 #11742B
split-complementary
#112874 #742B11 #597411
monochromatic
#04091B #09163F #112874 #193AA9 #214DDE

Accessibility & contrast

On white

13.29
#112874 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #112874
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112874#FFFFFF#000000##FFFFFF
##1128741.0013.291.5813.29
#FFFFFF13.291.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #112874;
/* rgb */ color: rgb(17, 40, 116);
/* oklch */ color: oklch(31.6% 0.133 265.8);
Tailwind
colors: {
  custom: {
    50: '#63619d',
    500: '#112874',
    950: '#000000',
  },
}
SCSS
$custom: #112874;
$custom-light: #63619d;
$custom-dark: #000000;
JSON
{
  "hex": "#112874",
  "rgb": {
    "r": 17,
    "g": 40,
    "b": 116
  },
  "hsl": {
    "h": 226.061,
    "s": 74.436,
    "l": 26.078
  },
  "oklch": {
    "l": 0.31566,
    "c": 0.13343,
    "h": 265.8
  },
  "luminance": 0.02898
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #112874

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

Preview Lab → · Contrast checker → · Palette generator →

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