#174284#174284

#174284 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 38.9% C 0.121 H 259.1°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#174284
RGBrgb(23, 66, 132)
HSLhsl(216, 70%, 30%)
HSVhsv(216, 83%, 52%)
CMYKcmyk(82.6%, 50%, 0%, 48.2%)
CIE-LABlab(28.76, 11.18, -41.24)
CIE-LCHlch(28.76, 42.73, 285.17°)
OKLaboklab(38.93% -0.0229 -0.1186)
OKLCHoklch(38.93% 0.121 259.1)
XYZxyz(6.4649, 5.7438, 22.5932)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174284 #845917
analogous
#177984 #174284 #221784
triadic
#174284 #841742 #428417
tetradic
#174284 #841779 #845917 #178422
square
#174284 #841779 #845917 #178422
split-complementary
#174284 #842217 #798417
monochromatic
#050E1C #0E2850 #174284 #205CB8 #3979DC

Accessibility & contrast

On white

9.77
#174284 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#174284 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174284
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174284#FFFFFF#000000##FFFFFF
##1742841.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4986
Deuteranopia (green-blind)
#003F83
Tritanopia (blue-blind)
#00525C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #174284;
/* rgb */ color: rgb(23, 66, 132);
/* oklch */ color: oklch(38.9% 0.121 259.1);
Tailwind
colors: {
  custom: {
    50: '#6775a8',
    500: '#174284',
    950: '#000000',
  },
}
SCSS
$custom: #174284;
$custom-light: #6775a8;
$custom-dark: #000000;
JSON
{
  "hex": "#174284",
  "rgb": {
    "r": 23,
    "g": 66,
    "b": 132
  },
  "hsl": {
    "h": 216.33,
    "s": 70.323,
    "l": 30.392
  },
  "oklch": {
    "l": 0.38935,
    "c": 0.12077,
    "h": 259.1
  },
  "luminance": 0.05745
}

Semantic roles & 50–950 ramp

primary
#174284
secondary
#B8883F
accent
#A73BED
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #174284

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

Preview Lab → · Contrast checker → · Palette generator →

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