#4173C2#4173C2

#4173C2 is a mid, vivid blue. Relative luminance 0.173; OKLCH L 56.0% C 0.134 H 259.2°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#4173C2
RGBrgb(65, 115, 194)
HSLhsl(217, 51%, 51%)
HSVhsv(217, 66%, 76%)
CMYKcmyk(66.5%, 40.7%, 0%, 23.9%)
CIE-LABlab(48.61, 8.88, -46.34)
CIE-LCHlch(48.61, 47.18, 280.85°)
OKLaboklab(55.96% -0.0252 -0.1321)
OKLCHoklch(55.96% 0.134 259.2)
XYZxyz(18.0448, 17.2785, 53.4126)
Luminance0.1728 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4173C2 #C29041
analogous
#41B3C2 #4173C2 #4F41C2
triadic
#4173C2 #C24173 #73C241
tetradic
#4173C2 #C241B3 #C29041 #41C24F
square
#4173C2 #C241B3 #C29041 #41C24F
split-complementary
#4173C2 #C24F41 #B3C241
monochromatic
#213C67 #305796 #4173C2 #6F95D1 #9EB7E0

Accessibility & contrast

On white

4.71
#4173C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#4173C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4173C2
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4173C2#FFFFFF#000000##FFFFFF
##4173C21.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F7AC5
Deuteranopia (green-blind)
#3B6EC0
Tritanopia (blue-blind)
#008591
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4173c2;
/* rgb */ color: rgb(65, 115, 194);
/* oklch */ color: oklch(56.0% 0.134 259.2);
Tailwind
colors: {
  custom: {
    50: '#839ad5',
    500: '#4173c2',
    950: '#000000',
  },
}
SCSS
$custom: #4173c2;
$custom-light: #839ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#4173c2",
  "rgb": {
    "r": 65,
    "g": 115,
    "b": 194
  },
  "hsl": {
    "h": 216.744,
    "s": 51.394,
    "l": 50.784
  },
  "oklch": {
    "l": 0.55957,
    "c": 0.13444,
    "h": 259.2
  },
  "luminance": 0.1728
}

Semantic roles & 50–950 ramp

primary
#4173C2
secondary
#CCB693
accent
#A44DDB
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #4173C2

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

Preview Lab → · Contrast checker → · Palette generator →

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