#174287#174287

#174287 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.2% C 0.125 H 259.7°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#174287
RGBrgb(23, 66, 135)
HSLhsl(217, 71%, 31%)
HSVhsv(217, 83%, 53%)
CMYKcmyk(83%, 51.1%, 0%, 47.1%)
CIE-LABlab(28.97, 12.42, -42.75)
CIE-LCHlch(28.97, 44.52, 286.20°)
OKLaboklab(39.17% -0.0224 -0.123)
OKLCHoklch(39.17% 0.125 259.7)
XYZxyz(6.6731, 5.8271, 23.6900)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174287 #875C17
analogous
#177A87 #174287 #241787
triadic
#174287 #871742 #428717
tetradic
#174287 #87177A #875C17 #178724
square
#174287 #87177A #875C17 #178724
split-complementary
#174287 #872417 #7A8717
monochromatic
#050F1E #0E2853 #174287 #205CBB #3B79DE

Accessibility & contrast

On white

9.70
#174287 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #174287
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174287#FFFFFF#000000##FFFFFF
##1742871.009.702.179.70
#FFFFFF9.701.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184A8A
Deuteranopia (green-blind)
#004086
Tritanopia (blue-blind)
#00535E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #174287;
/* rgb */ color: rgb(23, 66, 135);
/* oklch */ color: oklch(39.2% 0.125 259.7);
Tailwind
colors: {
  custom: {
    50: '#6875aa',
    500: '#174287',
    950: '#000000',
  },
}
SCSS
$custom: #174287;
$custom-light: #6875aa;
$custom-dark: #000000;
JSON
{
  "hex": "#174287",
  "rgb": {
    "r": 23,
    "g": 66,
    "b": 135
  },
  "hsl": {
    "h": 216.964,
    "s": 70.886,
    "l": 30.98
  },
  "oklch": {
    "l": 0.39169,
    "c": 0.12505,
    "h": 259.7
  },
  "luminance": 0.05828
}

Semantic roles & 50–950 ramp

primary
#174287
secondary
#BB8B3F
accent
#A93AEE
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #174287

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

Preview Lab → · Contrast checker → · Palette generator →

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