#112870#112870

#112870 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.2% C 0.128 H 265.6°. Best body text is #FFFFFF at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#112870
RGBrgb(17, 40, 112)
HSLhsl(225, 74%, 25%)
HSVhsv(225, 85%, 44%)
CMYKcmyk(84.8%, 64.3%, 0%, 56.1%)
CIE-LABlab(19.25, 20.72, -44.01)
CIE-LCHlch(19.25, 48.65, 295.21°)
OKLaboklab(31.17% -0.0098 -0.1273)
OKLCHoklch(31.17% 0.128 265.6)
XYZxyz(3.9136, 2.8061, 15.6615)
Luminance0.0281 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112870 #705911
analogous
#115770 #112870 #2A1170
triadic
#112870 #701128 #287011
tetradic
#112870 #701157 #705911 #11702A
square
#112870 #701157 #705911 #11702A
split-complementary
#112870 #702A11 #577011
monochromatic
#04091B #09153B #112870 #193BA5 #214EDA

Accessibility & contrast

On white

13.45
#112870 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#112870 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #112870
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112870#FFFFFF#000000##FFFFFF
##1128701.0013.451.5613.45
#FFFFFF13.451.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003372
Deuteranopia (green-blind)
#002A6F
Tritanopia (blue-blind)
#003B48
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #112870;
/* rgb */ color: rgb(17, 40, 112);
/* oklch */ color: oklch(31.2% 0.128 265.6);
Tailwind
colors: {
  custom: {
    50: '#62619a',
    500: '#112870',
    950: '#000000',
  },
}
SCSS
$custom: #112870;
$custom-light: #62619a;
$custom-dark: #000000;
JSON
{
  "hex": "#112870",
  "rgb": {
    "r": 17,
    "g": 40,
    "b": 112
  },
  "hsl": {
    "h": 225.474,
    "s": 73.643,
    "l": 25.294
  },
  "oklch": {
    "l": 0.31169,
    "c": 0.12772,
    "h": 265.6
  },
  "luminance": 0.02807
}

Semantic roles & 50–950 ramp

primary
#112870
secondary
#A78C35
accent
#C437F0
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #112870

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

Preview Lab → · Contrast checker → · Palette generator →

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