#4173DC#4173DC

#4173DC is a mid, vivid blue. Relative luminance 0.186; OKLCH L 57.6% C 0.170 H 263.0°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#4173DC
RGBrgb(65, 115, 220)
HSLhsl(221, 69%, 56%)
HSVhsv(221, 70%, 86%)
CMYKcmyk(70.5%, 47.7%, 0%, 13.7%)
CIE-LABlab(50.16, 18.18, -58.68)
CIE-LCHlch(50.16, 61.43, 287.22°)
OKLaboklab(57.65% -0.0206 -0.1683)
OKLCHoklch(57.65% 0.17 263)
XYZxyz(21.2244, 18.5504, 70.1583)
Luminance0.1855 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4173DC #DCAA41
analogous
#41C0DC #4173DC #5C41DC
triadic
#4173DC #DC4173 #73DC41
tetradic
#4173DC #DC41C0 #DCAA41 #41DC5C
square
#4173DC #DC41C0 #DCAA41 #41DC5C
split-complementary
#4173DC #DC5C41 #C0DC41
monochromatic
#193D89 #2355BD #4173DC #7599E6 #A8BFEF

Accessibility & contrast

On white

4.46
#4173DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#4173DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4173DC
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4173DC#FFFFFF#000000##000000
##4173DC1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A7FE0
Deuteranopia (green-blind)
#0C71DA
Tritanopia (blue-blind)
#008C9D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4173dc;
/* rgb */ color: rgb(65, 115, 220);
/* oklch */ color: oklch(57.6% 0.170 263.0);
Tailwind
colors: {
  custom: {
    50: '#889ae7',
    500: '#4173dc',
    950: '#000000',
  },
}
SCSS
$custom: #4173dc;
$custom-light: #889ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#4173dc",
  "rgb": {
    "r": 65,
    "g": 115,
    "b": 220
  },
  "hsl": {
    "h": 220.645,
    "s": 68.889,
    "l": 55.882
  },
  "oklch": {
    "l": 0.57649,
    "c": 0.16959,
    "h": 263
  },
  "luminance": 0.18553
}

Semantic roles & 50–950 ramp

primary
#4173DC
secondary
#DDC89C
accent
#B33CEC
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4173DC

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

Preview Lab → · Contrast checker → · Palette generator →

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