#4173C7#4173C7

#4173C7 is a mid, vivid blue. Relative luminance 0.175; OKLCH L 56.3% C 0.141 H 260.2°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#4173C7
RGBrgb(65, 115, 199)
HSLhsl(218, 54%, 52%)
HSVhsv(218, 67%, 78%)
CMYKcmyk(67.3%, 42.2%, 0%, 22%)
CIE-LABlab(48.89, 10.66, -48.76)
CIE-LCHlch(48.89, 49.91, 282.33°)
OKLaboklab(56.27% -0.0242 -0.1391)
OKLCHoklch(56.27% 0.141 260.2)
XYZxyz(18.6158, 17.5069, 56.4199)
Luminance0.1751 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4173C7 #C79541
analogous
#41B6C7 #4173C7 #5241C7
triadic
#4173C7 #C74173 #73C741
tetradic
#4173C7 #C741B6 #C79541 #41C752
square
#4173C7 #C741B6 #C79541 #41C752
split-complementary
#4173C7 #C75241 #B6C741
monochromatic
#203D6D #2E579D #4173C7 #7096D5 #A0B9E3

Accessibility & contrast

On white

4.66
#4173C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#4173C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4173C7
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4173C7#FFFFFF#000000##FFFFFF
##4173C71.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C7BCA
Deuteranopia (green-blind)
#366EC5
Tritanopia (blue-blind)
#008693
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4173c7;
/* rgb */ color: rgb(65, 115, 199);
/* oklch */ color: oklch(56.3% 0.141 260.2);
Tailwind
colors: {
  custom: {
    50: '#849ad8',
    500: '#4173c7',
    950: '#000000',
  },
}
SCSS
$custom: #4173c7;
$custom-light: #849ad8;
$custom-dark: #000000;
JSON
{
  "hex": "#4173c7",
  "rgb": {
    "r": 65,
    "g": 115,
    "b": 199
  },
  "hsl": {
    "h": 217.612,
    "s": 54.472,
    "l": 51.765
  },
  "oklch": {
    "l": 0.56268,
    "c": 0.14123,
    "h": 260.2
  },
  "luminance": 0.17509
}

Semantic roles & 50–950 ramp

primary
#4173C7
secondary
#CFB995
accent
#A74ADE
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #4173C7

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

Preview Lab → · Contrast checker → · Palette generator →

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