#174286#174286

#174286 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.1% C 0.124 H 259.5°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#174286
RGBrgb(23, 66, 134)
HSLhsl(217, 71%, 31%)
HSVhsv(217, 83%, 53%)
CMYKcmyk(82.8%, 50.7%, 0%, 47.5%)
CIE-LABlab(28.90, 12.01, -42.25)
CIE-LCHlch(28.90, 43.92, 285.87°)
OKLaboklab(39.09% -0.0226 -0.1215)
OKLCHoklch(39.09% 0.124 259.5)
XYZxyz(6.6031, 5.7990, 23.3209)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174286 #865B17
analogous
#177986 #174286 #231786
triadic
#174286 #861742 #428617
tetradic
#174286 #861779 #865B17 #178623
square
#174286 #861779 #865B17 #178623
split-complementary
#174286 #862317 #798617
monochromatic
#050F1E #0E2852 #174286 #205CBA #3A79DD

Accessibility & contrast

On white

9.72
#174286 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#174286 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174286
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174286#FFFFFF#000000##FFFFFF
##1742861.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194988
Deuteranopia (green-blind)
#003F85
Tritanopia (blue-blind)
#00525D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #174286;
/* rgb */ color: rgb(23, 66, 134);
/* oklch */ color: oklch(39.1% 0.124 259.5);
Tailwind
colors: {
  custom: {
    50: '#6875aa',
    500: '#174286',
    950: '#000000',
  },
}
SCSS
$custom: #174286;
$custom-light: #6875aa;
$custom-dark: #000000;
JSON
{
  "hex": "#174286",
  "rgb": {
    "r": 23,
    "g": 66,
    "b": 134
  },
  "hsl": {
    "h": 216.757,
    "s": 70.701,
    "l": 30.784
  },
  "oklch": {
    "l": 0.3909,
    "c": 0.12363,
    "h": 259.5
  },
  "luminance": 0.058
}

Semantic roles & 50–950 ramp

primary
#174286
secondary
#BA8A3F
accent
#A83AED
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #174286

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

Preview Lab → · Contrast checker → · Palette generator →

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