#112A70#112A70

#112A70 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.6% C 0.125 H 264.9°. Best body text is #FFFFFF at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#112A70
RGBrgb(17, 42, 112)
HSLhsl(224, 74%, 25%)
HSVhsv(224, 85%, 44%)
CMYKcmyk(84.8%, 62.5%, 0%, 56.1%)
CIE-LABlab(19.82, 19.27, -43.08)
CIE-LCHlch(19.82, 47.20, 294.10°)
OKLaboklab(31.59% -0.0111 -0.1246)
OKLCHoklch(31.59% 0.125 264.9)
XYZxyz(3.9827, 2.9445, 15.6845)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112A70 #705711
analogous
#115970 #112A70 #281170
triadic
#112A70 #70112A #2A7011
tetradic
#112A70 #701159 #705711 #117028
square
#112A70 #701159 #705711 #117028
split-complementary
#112A70 #702811 #597011
monochromatic
#040A1B #09163B #112A70 #193EA5 #2152DA

Accessibility & contrast

On white

13.22
#112A70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#112A70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #112A70
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112A70#FFFFFF#000000##FFFFFF
##112A701.0013.221.5913.22
#FFFFFF13.221.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003472
Deuteranopia (green-blind)
#002C6F
Tritanopia (blue-blind)
#003C48
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #112a70;
/* rgb */ color: rgb(17, 42, 112);
/* oklch */ color: oklch(31.6% 0.125 264.9);
Tailwind
colors: {
  custom: {
    50: '#62639a',
    500: '#112a70',
    950: '#000000',
  },
}
SCSS
$custom: #112a70;
$custom-light: #62639a;
$custom-dark: #000000;
JSON
{
  "hex": "#112a70",
  "rgb": {
    "r": 17,
    "g": 42,
    "b": 112
  },
  "hsl": {
    "h": 224.211,
    "s": 73.643,
    "l": 25.294
  },
  "oklch": {
    "l": 0.31594,
    "c": 0.12506,
    "h": 264.9
  },
  "luminance": 0.02945
}

Semantic roles & 50–950 ramp

primary
#112A70
secondary
#A78935
accent
#C037F0
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #112A70

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

Preview Lab → · Contrast checker → · Palette generator →

#112A70 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva