#174196#174196

#174196 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.2% C 0.147 H 262.2°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#174196
RGBrgb(23, 65, 150)
HSLhsl(220, 73%, 34%)
HSVhsv(220, 85%, 59%)
CMYKcmyk(84.7%, 56.7%, 0%, 41.2%)
CIE-LABlab(29.82, 19.28, -50.60)
CIE-LCHlch(29.82, 54.15, 290.85°)
OKLaboklab(40.18% -0.0199 -0.1461)
OKLCHoklch(40.18% 0.147 262.2)
XYZxyz(7.7467, 6.1638, 29.6297)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174196 #966C17
analogous
#178196 #174196 #2C1796
triadic
#174196 #961741 #419617
tetradic
#174196 #961781 #966C17 #17962C
square
#174196 #961781 #966C17 #17962C
split-complementary
#174196 #962C17 #819617
monochromatic
#07132C #0F2A61 #174196 #1F58CB #4579E2

Accessibility & contrast

On white

9.40
#174196 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#174196 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174196
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174196#FFFFFF#000000##FFFFFF
##1741961.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #174196;
/* rgb */ color: rgb(23, 65, 150);
/* oklch */ color: oklch(40.2% 0.147 262.2);
Tailwind
colors: {
  custom: {
    50: '#6c75b6',
    500: '#174196',
    950: '#000000',
  },
}
SCSS
$custom: #174196;
$custom-light: #6c75b6;
$custom-dark: #000000;
JSON
{
  "hex": "#174196",
  "rgb": {
    "r": 23,
    "g": 65,
    "b": 150
  },
  "hsl": {
    "h": 220.157,
    "s": 73.41,
    "l": 33.922
  },
  "oklch": {
    "l": 0.40178,
    "c": 0.14749,
    "h": 262.2
  },
  "luminance": 0.06165
}

Semantic roles & 50–950 ramp

primary
#174196
secondary
#C39A45
accent
#B338F0
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #174196

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

Preview Lab → · Contrast checker → · Palette generator →

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