#174289#174289

#174289 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.3% C 0.128 H 260.0°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#174289
RGBrgb(23, 66, 137)
HSLhsl(217, 71%, 31%)
HSVhsv(217, 83%, 54%)
CMYKcmyk(83.2%, 51.8%, 0%, 46.3%)
CIE-LABlab(29.12, 13.25, -43.76)
CIE-LCHlch(29.12, 45.72, 286.85°)
OKLaboklab(39.33% -0.0221 -0.126)
OKLCHoklch(39.33% 0.128 260)
XYZxyz(6.8153, 5.8839, 24.4386)
Luminance0.0588 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174289 #895E17
analogous
#177B89 #174289 #251789
triadic
#174289 #891742 #428917
tetradic
#174289 #89177B #895E17 #178925
square
#174289 #89177B #895E17 #178925
split-complementary
#174289 #892517 #7B8917
monochromatic
#051020 #0E2955 #174289 #205BBD #3C79DE

Accessibility & contrast

On white

9.65
#174289 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#174289 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174289
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174289#FFFFFF#000000##FFFFFF
##1742891.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154A8C
Deuteranopia (green-blind)
#004088
Tritanopia (blue-blind)
#00535F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #174289;
/* rgb */ color: rgb(23, 66, 137);
/* oklch */ color: oklch(39.3% 0.128 260.0);
Tailwind
colors: {
  custom: {
    50: '#6975ac',
    500: '#174289',
    950: '#000000',
  },
}
SCSS
$custom: #174289;
$custom-light: #6975ac;
$custom-dark: #000000;
JSON
{
  "hex": "#174289",
  "rgb": {
    "r": 23,
    "g": 66,
    "b": 137
  },
  "hsl": {
    "h": 217.368,
    "s": 71.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.39327,
    "c": 0.12792,
    "h": 260
  },
  "luminance": 0.05885
}

Semantic roles & 50–950 ramp

primary
#174289
secondary
#BD8D3F
accent
#AA3AEE
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #174289

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

Preview Lab → · Contrast checker → · Palette generator →

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