#174090#174090

#174090 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.5% C 0.140 H 261.9°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#174090
RGBrgb(23, 64, 144)
HSLhsl(220, 72%, 33%)
HSVhsv(220, 84%, 56%)
CMYKcmyk(84%, 55.6%, 0%, 43.5%)
CIE-LABlab(29.06, 17.52, -48.16)
CIE-LCHlch(29.06, 51.25, 289.99°)
OKLaboklab(39.45% -0.0198 -0.139)
OKLCHoklch(39.45% 0.14 261.9)
XYZxyz(7.2190, 5.8617, 27.1311)
Luminance0.0586 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174090 #906717
analogous
#177D90 #174090 #2A1790
triadic
#174090 #901740 #409017
tetradic
#174090 #90177D #906717 #17902A
square
#174090 #90177D #906717 #17902A
split-complementary
#174090 #902A17 #7D9017
monochromatic
#061126 #0F295B #174090 #1F57C5 #4177E1

Accessibility & contrast

On white

9.67
#174090 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#174090 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174090
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174090#FFFFFF#000000##FFFFFF
##1740901.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A93
Deuteranopia (green-blind)
#003F8E
Tritanopia (blue-blind)
#005461
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #174090;
/* rgb */ color: rgb(23, 64, 144);
/* oklch */ color: oklch(39.5% 0.140 261.9);
Tailwind
colors: {
  custom: {
    50: '#6a74b1',
    500: '#174090',
    950: '#000000',
  },
}
SCSS
$custom: #174090;
$custom-light: #6a74b1;
$custom-dark: #000000;
JSON
{
  "hex": "#174090",
  "rgb": {
    "r": 23,
    "g": 64,
    "b": 144
  },
  "hsl": {
    "h": 219.669,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.39452,
    "c": 0.14039,
    "h": 261.9
  },
  "luminance": 0.05863
}

Semantic roles & 50–950 ramp

primary
#174090
secondary
#C19642
accent
#B139EF
background
#F6F7FB
surface
#ECEDF6
border
#C7C8D0
text
#080811
muted
#7A7B80

Preview Lab

Preview with #174090

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

Preview Lab → · Contrast checker → · Palette generator →

#174090 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva