#174082#174082

#174082 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.3% C 0.120 H 259.7°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#174082
RGBrgb(23, 64, 130)
HSLhsl(217, 70%, 30%)
HSVhsv(217, 82%, 51%)
CMYKcmyk(82.3%, 50.8%, 0%, 49%)
CIE-LABlab(28.01, 11.75, -41.20)
CIE-LCHlch(28.01, 42.84, 285.91°)
OKLaboklab(38.31% -0.0216 -0.1185)
OKLCHoklch(38.31% 0.12 259.7)
XYZxyz(6.2145, 5.4599, 21.8411)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174082 #825917
analogous
#177682 #174082 #231782
triadic
#174082 #821740 #408217
tetradic
#174082 #821776 #825917 #178223
square
#174082 #821776 #825917 #178223
split-complementary
#174082 #822317 #768217
monochromatic
#050D1A #0E264E #174082 #205AB6 #3877DC

Accessibility & contrast

On white

10.04
#174082 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#174082 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174082
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174082#FFFFFF#000000##FFFFFF
##1740821.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194784
Deuteranopia (green-blind)
#003E81
Tritanopia (blue-blind)
#00505A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #174082;
/* rgb */ color: rgb(23, 64, 130);
/* oklch */ color: oklch(38.3% 0.120 259.7);
Tailwind
colors: {
  custom: {
    50: '#6774a7',
    500: '#174082',
    950: '#000000',
  },
}
SCSS
$custom: #174082;
$custom-light: #6774a7;
$custom-dark: #000000;
JSON
{
  "hex": "#174082",
  "rgb": {
    "r": 23,
    "g": 64,
    "b": 130
  },
  "hsl": {
    "h": 217.009,
    "s": 69.935,
    "l": 30
  },
  "oklch": {
    "l": 0.38314,
    "c": 0.12046,
    "h": 259.7
  },
  "luminance": 0.05461
}

Semantic roles & 50–950 ramp

primary
#174082
secondary
#B6883E
accent
#A93BED
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #174082

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

Preview Lab → · Contrast checker → · Palette generator →

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