#4173C1#4173C1

#4173C1 is a mid, vivid blue. Relative luminance 0.172; OKLCH L 55.9% C 0.133 H 259.0°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#4173C1
RGBrgb(65, 115, 193)
HSLhsl(217, 51%, 51%)
HSVhsv(217, 66%, 76%)
CMYKcmyk(66.3%, 40.4%, 0%, 24.3%)
CIE-LABlab(48.55, 8.53, -45.85)
CIE-LCHlch(48.55, 46.64, 280.54°)
OKLaboklab(55.9% -0.0254 -0.1306)
OKLCHoklch(55.9% 0.133 259)
XYZxyz(17.9329, 17.2338, 52.8231)
Luminance0.1724 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4173C1 #C18F41
analogous
#41B3C1 #4173C1 #4F41C1
triadic
#4173C1 #C14173 #73C141
tetradic
#4173C1 #C141B3 #C18F41 #41C14F
square
#4173C1 #C141B3 #C18F41 #41C14F
split-complementary
#4173C1 #C14F41 #B3C141
monochromatic
#213C66 #305794 #4173C1 #6F95D0 #9DB7DF

Accessibility & contrast

On white

4.72
#4173C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#4173C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4173C1
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4173C1#FFFFFF#000000##FFFFFF
##4173C11.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#507AC4
Deuteranopia (green-blind)
#3C6EBF
Tritanopia (blue-blind)
#008590
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4173c1;
/* rgb */ color: rgb(65, 115, 193);
/* oklch */ color: oklch(55.9% 0.133 259.0);
Tailwind
colors: {
  custom: {
    50: '#839ad4',
    500: '#4173c1',
    950: '#000000',
  },
}
SCSS
$custom: #4173c1;
$custom-light: #839ad4;
$custom-dark: #000000;
JSON
{
  "hex": "#4173c1",
  "rgb": {
    "r": 65,
    "g": 115,
    "b": 193
  },
  "hsl": {
    "h": 216.563,
    "s": 50.794,
    "l": 50.588
  },
  "oklch": {
    "l": 0.55896,
    "c": 0.13308,
    "h": 259
  },
  "luminance": 0.17236
}

Semantic roles & 50–950 ramp

primary
#4173C1
secondary
#CBB592
accent
#A34EDA
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #4173C1

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

Preview Lab → · Contrast checker → · Palette generator →

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