#174182#174182

#174182 is a dark, moderate blue. Relative luminance 0.056; OKLCH L 38.5% C 0.119 H 259.2°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#174182
RGBrgb(23, 65, 130)
HSLhsl(216, 70%, 30%)
HSVhsv(216, 82%, 51%)
CMYKcmyk(82.3%, 50%, 0%, 49%)
CIE-LABlab(28.31, 11.05, -40.71)
CIE-LCHlch(28.31, 42.19, 285.19°)
OKLaboklab(38.55% -0.0224 -0.117)
OKLCHoklch(38.55% 0.119 259.2)
XYZxyz(6.2714, 5.5737, 21.8601)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174182 #825817
analogous
#177682 #174182 #231782
triadic
#174182 #821741 #418217
tetradic
#174182 #821776 #825817 #178223
square
#174182 #821776 #825817 #178223
split-complementary
#174182 #822317 #768217
monochromatic
#050D1A #0E274E #174182 #205BB6 #3878DC

Accessibility & contrast

On white

9.93
#174182 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#174182 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174182
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174182#FFFFFF#000000##FFFFFF
##1741821.009.932.119.93
#FFFFFF9.931.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #174182;
/* rgb */ color: rgb(23, 65, 130);
/* oklch */ color: oklch(38.5% 0.119 259.2);
Tailwind
colors: {
  custom: {
    50: '#6775a7',
    500: '#174182',
    950: '#000000',
  },
}
SCSS
$custom: #174182;
$custom-light: #6775a7;
$custom-dark: #000000;
JSON
{
  "hex": "#174182",
  "rgb": {
    "r": 23,
    "g": 65,
    "b": 130
  },
  "hsl": {
    "h": 216.449,
    "s": 69.935,
    "l": 30
  },
  "oklch": {
    "l": 0.38547,
    "c": 0.11917,
    "h": 259.2
  },
  "luminance": 0.05574
}

Semantic roles & 50–950 ramp

primary
#174182
secondary
#B6873E
accent
#A73BED
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #174182

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

Preview Lab → · Contrast checker → · Palette generator →

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