#174CB4#174CB4

#174CB4 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.1% C 0.174 H 262.0°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#174CB4
RGBrgb(23, 76, 180)
HSLhsl(220, 77%, 40%)
HSVhsv(220, 87%, 71%)
CMYKcmyk(87.2%, 57.8%, 0%, 29.4%)
CIE-LABlab(35.29, 23.85, -59.71)
CIE-LCHlch(35.29, 64.30, 291.77°)
OKLaboklab(45.06% -0.0244 -0.1727)
OKLCHoklch(45.06% 0.174 262)
XYZxyz(11.1730, 8.6449, 44.2509)
Luminance0.0865 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174CB4 #B47F17
analogous
#179BB4 #174CB4 #3017B4
triadic
#174CB4 #B4174C #4CB417
tetradic
#174CB4 #B4179B #B47F17 #17B430
square
#174CB4 #B4179B #B47F17 #17B430
split-complementary
#174CB4 #B43017 #9BB417
monochromatic
#091E47 #10357E #174CB4 #2565E3 #5B8CEA

Accessibility & contrast

On white

7.69
#174CB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#174CB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174CB4
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174CB4#FFFFFF#000000##FFFFFF
##174CB41.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB8
Deuteranopia (green-blind)
#004CB2
Tritanopia (blue-blind)
#006678
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #174cb4;
/* rgb */ color: rgb(23, 76, 180);
/* oklch */ color: oklch(45.1% 0.174 262.0);
Tailwind
colors: {
  custom: {
    50: '#737dcb',
    500: '#174cb4',
    950: '#000000',
  },
}
SCSS
$custom: #174cb4;
$custom-light: #737dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#174cb4",
  "rgb": {
    "r": 23,
    "g": 76,
    "b": 180
  },
  "hsl": {
    "h": 219.745,
    "s": 77.34,
    "l": 39.804
  },
  "oklch": {
    "l": 0.4506,
    "c": 0.1744,
    "h": 262
  },
  "luminance": 0.08646
}

Semantic roles & 50–950 ramp

primary
#174CB4
secondary
#CEA659
accent
#B334F4
background
#F7F7FC
surface
#EEEEF9
border
#C9C9D2
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #174CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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