#174EA1#174EA1

#174EA1 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 43.9% C 0.146 H 259.1°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#174EA1
RGBrgb(23, 78, 161)
HSLhsl(216, 75%, 36%)
HSVhsv(216, 86%, 63%)
CMYKcmyk(85.7%, 51.6%, 0%, 36.9%)
CIE-LABlab(34.40, 14.86, -49.83)
CIE-LCHlch(34.40, 52.00, 286.60°)
OKLaboklab(43.93% -0.0276 -0.1436)
OKLCHoklch(43.93% 0.146 259.1)
XYZxyz(9.5084, 8.2030, 34.7935)
Luminance0.0820 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174EA1 #A16A17
analogous
#1793A1 #174EA1 #2517A1
triadic
#174EA1 #A1174E #4EA117
tetradic
#174EA1 #A11793 #A16A17 #17A125
square
#174EA1 #A11793 #A16A17 #17A125
split-complementary
#174EA1 #A12517 #93A117
monochromatic
#081A36 #0F346B #174EA1 #1F68D7 #4D8AE6

Accessibility & contrast

On white

7.95
#174EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#174EA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174EA1
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174EA1#FFFFFF#000000##FFFFFF
##174EA11.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1757A4
Deuteranopia (green-blind)
#004B9F
Tritanopia (blue-blind)
#006270
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #174ea1;
/* rgb */ color: rgb(23, 78, 161);
/* oklch */ color: oklch(43.9% 0.146 259.1);
Tailwind
colors: {
  custom: {
    50: '#6e7ebd',
    500: '#174ea1',
    950: '#000000',
  },
}
SCSS
$custom: #174ea1;
$custom-light: #6e7ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#174ea1",
  "rgb": {
    "r": 23,
    "g": 78,
    "b": 161
  },
  "hsl": {
    "h": 216.087,
    "s": 75,
    "l": 36.078
  },
  "oklch": {
    "l": 0.43927,
    "c": 0.14624,
    "h": 259.1
  },
  "luminance": 0.08204
}

Semantic roles & 50–950 ramp

primary
#174EA1
secondary
#C7964C
accent
#A736F2
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #174EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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