#174CA5#174CA5

#174CA5 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.8% C 0.154 H 260.4°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#174CA5
RGBrgb(23, 76, 165)
HSLhsl(218, 76%, 37%)
HSVhsv(218, 86%, 65%)
CMYKcmyk(86.1%, 53.9%, 0%, 35.3%)
CIE-LABlab(34.12, 17.84, -52.69)
CIE-LCHlch(34.12, 55.63, 288.70°)
OKLaboklab(43.81% -0.0257 -0.152)
OKLCHoklch(43.81% 0.154 260.4)
XYZxyz(9.7268, 8.0664, 36.6343)
Luminance0.0807 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174CA5 #A57017
analogous
#1793A5 #174CA5 #2917A5
triadic
#174CA5 #A5174C #4CA517
tetradic
#174CA5 #A51793 #A57017 #17A529
square
#174CA5 #A51793 #A57017 #17A529
split-complementary
#174CA5 #A52917 #93A517
monochromatic
#081B3A #10336F #174CA5 #1E65DB #5088E7

Accessibility & contrast

On white

8.03
#174CA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#174CA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174CA5
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174CA5#FFFFFF#000000##FFFFFF
##174CA51.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0157A8
Deuteranopia (green-blind)
#004AA3
Tritanopia (blue-blind)
#006271
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #174ca5;
/* rgb */ color: rgb(23, 76, 165);
/* oklch */ color: oklch(43.8% 0.154 260.4);
Tailwind
colors: {
  custom: {
    50: '#6f7dc0',
    500: '#174ca5',
    950: '#000000',
  },
}
SCSS
$custom: #174ca5;
$custom-light: #6f7dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#174ca5",
  "rgb": {
    "r": 23,
    "g": 76,
    "b": 165
  },
  "hsl": {
    "h": 217.606,
    "s": 75.532,
    "l": 36.863
  },
  "oklch": {
    "l": 0.43806,
    "c": 0.15421,
    "h": 260.4
  },
  "luminance": 0.08068
}

Semantic roles & 50–950 ramp

primary
#174CA5
secondary
#C99B4F
accent
#AC36F2
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #174CA5

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

Preview Lab → · Contrast checker → · Palette generator →

#174CA5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva