#174981#174981

#174981 is a dark, moderate cyan. Relative luminance 0.065; OKLCH L 40.4% C 0.108 H 254.1°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#174981
RGBrgb(23, 73, 129)
HSLhsl(212, 70%, 30%)
HSVhsv(212, 82%, 51%)
CMYKcmyk(82.2%, 43.4%, 0%, 49.4%)
CIE-LABlab(30.72, 5.15, -36.23)
CIE-LCHlch(30.72, 36.59, 278.10°)
OKLaboklab(40.39% -0.0295 -0.1037)
OKLCHoklch(40.39% 0.108 254.1)
XYZxyz(6.6969, 6.5314, 21.6724)
Luminance0.0653 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174981 #814F17
analogous
#177E81 #174981 #1A1781
triadic
#174981 #811749 #498117
tetradic
#174981 #81177E #814F17 #17811A
square
#174981 #81177E #814F17 #17811A
split-complementary
#174981 #811A17 #7E8117
monochromatic
#050F1A #0E2C4D #174981 #2066B5 #3785DB

Accessibility & contrast

On white

9.11
#174981 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#174981 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174981
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174981#FFFFFF#000000##FFFFFF
##1749811.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4D83
Deuteranopia (green-blind)
#1A4480
Tritanopia (blue-blind)
#00565E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #174981;
/* rgb */ color: rgb(23, 73, 129);
/* oklch */ color: oklch(40.4% 0.108 254.1);
Tailwind
colors: {
  custom: {
    50: '#667ba6',
    500: '#174981',
    950: '#000000',
  },
}
SCSS
$custom: #174981;
$custom-light: #667ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#174981",
  "rgb": {
    "r": 23,
    "g": 73,
    "b": 129
  },
  "hsl": {
    "h": 211.698,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40385,
    "c": 0.10782,
    "h": 254.1
  },
  "luminance": 0.06532
}

Semantic roles & 50–950 ramp

primary
#174981
secondary
#B57D3E
accent
#993BED
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #174981

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

Preview Lab → · Contrast checker → · Palette generator →

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