#174080#174080

#174080 is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.2% C 0.118 H 259.3°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#174080
RGBrgb(23, 64, 128)
HSLhsl(217, 70%, 30%)
HSVhsv(217, 82%, 50%)
CMYKcmyk(82%, 50%, 0%, 49.8%)
CIE-LABlab(27.86, 10.92, -40.19)
CIE-LCHlch(27.86, 41.64, 285.20°)
OKLaboklab(38.16% -0.0219 -0.1155)
OKLCHoklch(38.16% 0.118 259.3)
XYZxyz(6.0816, 5.4067, 21.1410)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174080 #805717
analogous
#177580 #174080 #221780
triadic
#174080 #801740 #408017
tetradic
#174080 #801775 #805717 #178022
square
#174080 #801775 #805717 #178022
split-complementary
#174080 #802217 #758017
monochromatic
#050D1A #0E264C #174080 #205AB4 #3677DB

Accessibility & contrast

On white

10.09
#174080 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#174080 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174080
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174080#FFFFFF#000000##FFFFFF
##1740801.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4782
Deuteranopia (green-blind)
#003D7F
Tritanopia (blue-blind)
#004F5A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #174080;
/* rgb */ color: rgb(23, 64, 128);
/* oklch */ color: oklch(38.2% 0.118 259.3);
Tailwind
colors: {
  custom: {
    50: '#6674a5',
    500: '#174080',
    950: '#000000',
  },
}
SCSS
$custom: #174080;
$custom-light: #6674a5;
$custom-dark: #000000;
JSON
{
  "hex": "#174080",
  "rgb": {
    "r": 23,
    "g": 64,
    "b": 128
  },
  "hsl": {
    "h": 216.571,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.38158,
    "c": 0.11757,
    "h": 259.3
  },
  "luminance": 0.05407
}

Semantic roles & 50–950 ramp

primary
#174080
secondary
#B4863E
accent
#A73BEC
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #174080

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

Preview Lab → · Contrast checker → · Palette generator →

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