#174282#174282

#174282 is a dark, moderate blue. Relative luminance 0.057; OKLCH L 38.8% C 0.118 H 258.6°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#174282
RGBrgb(23, 66, 130)
HSLhsl(216, 70%, 30%)
HSVhsv(216, 82%, 51%)
CMYKcmyk(82.3%, 49.2%, 0%, 49%)
CIE-LABlab(28.62, 10.36, -40.22)
CIE-LCHlch(28.62, 41.53, 284.44°)
OKLaboklab(38.78% -0.0232 -0.1156)
OKLCHoklch(38.78% 0.118 258.6)
XYZxyz(6.3294, 5.6895, 21.8794)
Luminance0.0569 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174282 #825717
analogous
#177782 #174282 #221782
triadic
#174282 #821742 #428217
tetradic
#174282 #821777 #825717 #178222
square
#174282 #821777 #825717 #178222
split-complementary
#174282 #822217 #778217
monochromatic
#050D1A #0E284E #174282 #205CB6 #387ADC

Accessibility & contrast

On white

9.82
#174282 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#174282 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174282
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174282#FFFFFF#000000##FFFFFF
##1742821.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4984
Deuteranopia (green-blind)
#003F81
Tritanopia (blue-blind)
#00515B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #174282;
/* rgb */ color: rgb(23, 66, 130);
/* oklch */ color: oklch(38.8% 0.118 258.6);
Tailwind
colors: {
  custom: {
    50: '#6775a7',
    500: '#174282',
    950: '#000000',
  },
}
SCSS
$custom: #174282;
$custom-light: #6775a7;
$custom-dark: #000000;
JSON
{
  "hex": "#174282",
  "rgb": {
    "r": 23,
    "g": 66,
    "b": 130
  },
  "hsl": {
    "h": 215.888,
    "s": 69.935,
    "l": 30
  },
  "oklch": {
    "l": 0.38781,
    "c": 0.1179,
    "h": 258.6
  },
  "luminance": 0.0569
}

Semantic roles & 50–950 ramp

primary
#174282
secondary
#B6863E
accent
#A53BED
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #174282

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

Preview Lab → · Contrast checker → · Palette generator →

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