#4173C4#4173C4

#4173C4 is a mid, vivid blue. Relative luminance 0.174; OKLCH L 56.1% C 0.137 H 259.6°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#4173C4
RGBrgb(65, 115, 196)
HSLhsl(217, 53%, 51%)
HSVhsv(217, 67%, 77%)
CMYKcmyk(66.8%, 41.3%, 0%, 23.1%)
CIE-LABlab(48.72, 9.59, -47.31)
CIE-LCHlch(48.72, 48.27, 281.46°)
OKLaboklab(56.08% -0.0248 -0.1349)
OKLCHoklch(56.08% 0.137 259.6)
XYZxyz(18.2710, 17.3690, 54.6035)
Luminance0.1737 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4173C4 #C49241
analogous
#41B4C4 #4173C4 #5041C4
triadic
#4173C4 #C44173 #73C441
tetradic
#4173C4 #C441B4 #C49241 #41C450
square
#4173C4 #C441B4 #C49241 #41C450
split-complementary
#4173C4 #C45041 #B4C441
monochromatic
#213D6A #2F5798 #4173C4 #7095D3 #9EB8E1

Accessibility & contrast

On white

4.69
#4173C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#4173C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4173C4
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4173C4#FFFFFF#000000##FFFFFF
##4173C41.004.694.474.69
#FFFFFF4.691.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E7AC7
Deuteranopia (green-blind)
#396EC2
Tritanopia (blue-blind)
#008692
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4173c4;
/* rgb */ color: rgb(65, 115, 196);
/* oklch */ color: oklch(56.1% 0.137 259.6);
Tailwind
colors: {
  custom: {
    50: '#839ad6',
    500: '#4173c4',
    950: '#000000',
  },
}
SCSS
$custom: #4173c4;
$custom-light: #839ad6;
$custom-dark: #000000;
JSON
{
  "hex": "#4173c4",
  "rgb": {
    "r": 65,
    "g": 115,
    "b": 196
  },
  "hsl": {
    "h": 217.099,
    "s": 52.61,
    "l": 51.176
  },
  "oklch": {
    "l": 0.56081,
    "c": 0.13716,
    "h": 259.6
  },
  "luminance": 0.17371
}

Semantic roles & 50–950 ramp

primary
#4173C4
secondary
#CDB793
accent
#A54CDC
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #4173C4

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

Preview Lab → · Contrast checker → · Palette generator →

#4173C4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva