#4173CE#4173CE

#4173CE is a mid, vivid blue. Relative luminance 0.178; OKLCH L 56.7% C 0.151 H 261.3°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#4173CE
RGBrgb(65, 115, 206)
HSLhsl(219, 59%, 53%)
HSVhsv(219, 68%, 81%)
CMYKcmyk(68.4%, 44.2%, 0%, 19.2%)
CIE-LABlab(49.30, 13.16, -52.11)
CIE-LCHlch(49.30, 53.74, 284.18°)
OKLaboklab(56.72% -0.0228 -0.149)
OKLCHoklch(56.72% 0.151 261.3)
XYZxyz(19.4473, 17.8395, 60.7990)
Luminance0.1784 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4173CE #CE9C41
analogous
#41BACE #4173CE #5541CE
triadic
#4173CE #CE4173 #73CE41
tetradic
#4173CE #CE41BA #CE9C41 #41CE55
square
#4173CE #CE41BA #CE9C41 #41CE55
split-complementary
#4173CE #CE5541 #BACE41
monochromatic
#1E3E76 #2B57A7 #4173CE #7297DB #A2BBE7

Accessibility & contrast

On white

4.60
#4173CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#4173CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4173CE
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4173CE#FFFFFF#000000##FFFFFF
##4173CE1.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#467CD1
Deuteranopia (green-blind)
#2D6FCC
Tritanopia (blue-blind)
#008896
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4173ce;
/* rgb */ color: rgb(65, 115, 206);
/* oklch */ color: oklch(56.7% 0.151 261.3);
Tailwind
colors: {
  custom: {
    50: '#859add',
    500: '#4173ce',
    950: '#000000',
  },
}
SCSS
$custom: #4173ce;
$custom-light: #859add;
$custom-dark: #000000;
JSON
{
  "hex": "#4173ce",
  "rgb": {
    "r": 65,
    "g": 115,
    "b": 206
  },
  "hsl": {
    "h": 218.723,
    "s": 58.996,
    "l": 53.137
  },
  "oklch": {
    "l": 0.56716,
    "c": 0.15073,
    "h": 261.3
  },
  "luminance": 0.17842
}

Semantic roles & 50–950 ramp

primary
#4173CE
secondary
#D4BE97
accent
#AB46E2
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4173CE

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

Preview Lab → · Contrast checker → · Palette generator →

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