#174AA1#174AA1

#174AA1 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.0% C 0.151 H 260.5°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#174AA1
RGBrgb(23, 74, 161)
HSLhsl(218, 75%, 36%)
HSVhsv(218, 86%, 63%)
CMYKcmyk(85.7%, 54%, 0%, 36.9%)
CIE-LABlab(33.25, 17.57, -51.70)
CIE-LCHlch(33.25, 54.61, 288.77°)
OKLaboklab(43.05% -0.0248 -0.1492)
OKLCHoklch(43.05% 0.151 260.5)
XYZxyz(9.2328, 7.6518, 34.7016)
Luminance0.0765 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174AA1 #A16E17
analogous
#178FA1 #174AA1 #2917A1
triadic
#174AA1 #A1174A #4AA117
tetradic
#174AA1 #A1178F #A16E17 #17A129
square
#174AA1 #A1178F #A16E17 #17A129
split-complementary
#174AA1 #A12917 #8FA117
monochromatic
#081936 #0F316B #174AA1 #1F63D7 #4D85E6

Accessibility & contrast

On white

8.30
#174AA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#174AA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174AA1
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174AA1#FFFFFF#000000##FFFFFF
##174AA11.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0155A4
Deuteranopia (green-blind)
#00489F
Tritanopia (blue-blind)
#005F6E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #174aa1;
/* rgb */ color: rgb(23, 74, 161);
/* oklch */ color: oklch(43.0% 0.151 260.5);
Tailwind
colors: {
  custom: {
    50: '#6e7bbd',
    500: '#174aa1',
    950: '#000000',
  },
}
SCSS
$custom: #174aa1;
$custom-light: #6e7bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#174aa1",
  "rgb": {
    "r": 23,
    "g": 74,
    "b": 161
  },
  "hsl": {
    "h": 217.826,
    "s": 75,
    "l": 36.078
  },
  "oklch": {
    "l": 0.43045,
    "c": 0.15126,
    "h": 260.5
  },
  "luminance": 0.07653
}

Semantic roles & 50–950 ramp

primary
#174AA1
secondary
#C79A4C
accent
#AC36F2
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #174AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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