#174096#174096

#174096 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.0% C 0.149 H 262.6°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#174096
RGBrgb(23, 64, 150)
HSLhsl(221, 73%, 34%)
HSVhsv(221, 85%, 59%)
CMYKcmyk(84.7%, 57.3%, 0%, 41.2%)
CIE-LABlab(29.54, 19.97, -51.06)
CIE-LCHlch(29.54, 54.83, 291.36°)
OKLaboklab(39.96% -0.0193 -0.1475)
OKLCHoklch(39.96% 0.149 262.6)
XYZxyz(7.6898, 6.0500, 29.6107)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174096 #966D17
analogous
#178096 #174096 #2E1796
triadic
#174096 #961740 #409617
tetradic
#174096 #961780 #966D17 #17962E
square
#174096 #961780 #966D17 #17962E
split-complementary
#174096 #962E17 #809617
monochromatic
#07132C #0F2961 #174096 #1F57CB #4578E2

Accessibility & contrast

On white

9.50
#174096 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#174096 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174096
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174096#FFFFFF#000000##FFFFFF
##1740961.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C99
Deuteranopia (green-blind)
#004094
Tritanopia (blue-blind)
#005664
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #174096;
/* rgb */ color: rgb(23, 64, 150);
/* oklch */ color: oklch(40.0% 0.149 262.6);
Tailwind
colors: {
  custom: {
    50: '#6c74b6',
    500: '#174096',
    950: '#000000',
  },
}
SCSS
$custom: #174096;
$custom-light: #6c74b6;
$custom-dark: #000000;
JSON
{
  "hex": "#174096",
  "rgb": {
    "r": 23,
    "g": 64,
    "b": 150
  },
  "hsl": {
    "h": 220.63,
    "s": 73.41,
    "l": 33.922
  },
  "oklch": {
    "l": 0.39963,
    "c": 0.14876,
    "h": 262.6
  },
  "luminance": 0.06051
}

Semantic roles & 50–950 ramp

primary
#174096
secondary
#C39B45
accent
#B538F0
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #174096

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

Preview Lab → · Contrast checker → · Palette generator →

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