#112174#112174

#112174 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.2% C 0.142 H 267.5°. Best body text is #FFFFFF at 14.06:1 contrast (WCAG AA passes).

Color values

HEX#112174
RGBrgb(17, 33, 116)
HSLhsl(230, 74%, 26%)
HSVhsv(230, 85%, 45%)
CMYKcmyk(85.3%, 71.6%, 0%, 54.5%)
CIE-LABlab(17.77, 27.28, -49.02)
CIE-LCHlch(17.77, 56.10, 299.10°)
OKLaboklab(30.2% -0.0061 -0.142)
OKLCHoklch(30.2% 0.142 267.5)
XYZxyz(3.9263, 2.4674, 16.7889)
Luminance0.0247 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112174 #746411
analogous
#115274 #112174 #321174
triadic
#112174 #741121 #217411
tetradic
#112174 #741152 #746411 #117432
square
#112174 #741152 #746411 #117432
split-complementary
#112174 #743211 #527411
monochromatic
#04081B #09123F #112174 #1930A9 #2140DE

Accessibility & contrast

On white

14.06
#112174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#112174 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #112174
14.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112174#FFFFFF#000000##FFFFFF
##1121741.0014.061.4914.06
#FFFFFF14.061.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003077
Deuteranopia (green-blind)
#002772
Tritanopia (blue-blind)
#003847
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #112174;
/* rgb */ color: rgb(17, 33, 116);
/* oklch */ color: oklch(30.2% 0.142 267.5);
Tailwind
colors: {
  custom: {
    50: '#645c9d',
    500: '#112174',
    950: '#000000',
  },
}
SCSS
$custom: #112174;
$custom-light: #645c9d;
$custom-dark: #000000;
JSON
{
  "hex": "#112174",
  "rgb": {
    "r": 17,
    "g": 33,
    "b": 116
  },
  "hsl": {
    "h": 230.303,
    "s": 74.436,
    "l": 26.078
  },
  "oklch": {
    "l": 0.30203,
    "c": 0.14217,
    "h": 267.5
  },
  "luminance": 0.02468
}

Semantic roles & 50–950 ramp

primary
#112174
secondary
#AB9836
accent
#D337F1
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #112174

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

Preview Lab → · Contrast checker → · Palette generator →

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