#174A98#174A98

#174A98 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.3% C 0.139 H 259.2°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#174A98
RGBrgb(23, 74, 152)
HSLhsl(216, 74%, 34%)
HSVhsv(216, 85%, 60%)
CMYKcmyk(84.9%, 51.3%, 0%, 40.4%)
CIE-LABlab(32.58, 13.91, -47.34)
CIE-LCHlch(32.58, 49.34, 286.37°)
OKLaboklab(42.33% -0.026 -0.1364)
OKLCHoklch(42.33% 0.139 259.2)
XYZxyz(8.4675, 7.3457, 30.6712)
Luminance0.0735 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174A98 #986517
analogous
#178B98 #174A98 #251798
triadic
#174A98 #98174A #4A9817
tetradic
#174A98 #98178B #986517 #179825
square
#174A98 #98178B #986517 #179825
split-complementary
#174A98 #982517 #8B9817
monochromatic
#07162E #0F3063 #174A98 #1F64CD #4684E3

Accessibility & contrast

On white

8.50
#174A98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#174A98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174A98
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174A98#FFFFFF#000000##FFFFFF
##174A981.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18539B
Deuteranopia (green-blind)
#004796
Tritanopia (blue-blind)
#005D6A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #174a98;
/* rgb */ color: rgb(23, 74, 152);
/* oklch */ color: oklch(42.3% 0.139 259.2);
Tailwind
colors: {
  custom: {
    50: '#6c7bb7',
    500: '#174a98',
    950: '#000000',
  },
}
SCSS
$custom: #174a98;
$custom-light: #6c7bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#174a98",
  "rgb": {
    "r": 23,
    "g": 74,
    "b": 152
  },
  "hsl": {
    "h": 216.279,
    "s": 73.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.42326,
    "c": 0.13883,
    "h": 259.2
  },
  "luminance": 0.07347
}

Semantic roles & 50–950 ramp

primary
#174A98
secondary
#C49347
accent
#A737F0
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #174A98

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

Preview Lab → · Contrast checker → · Palette generator →

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