#4173DE#4173DE

#4173DE is a mid, vivid blue. Relative luminance 0.187; OKLCH L 57.8% C 0.172 H 263.2°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#4173DE
RGBrgb(65, 115, 222)
HSLhsl(221, 70%, 56%)
HSVhsv(221, 71%, 87%)
CMYKcmyk(70.7%, 48.2%, 0%, 12.9%)
CIE-LABlab(50.28, 18.90, -59.61)
CIE-LCHlch(50.28, 62.53, 287.60°)
OKLaboklab(57.79% -0.0203 -0.171)
OKLCHoklch(57.79% 0.172 263.2)
XYZxyz(21.4908, 18.6570, 71.5616)
Luminance0.1866 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4173DE #DEAC41
analogous
#41C2DE #4173DE #5E41DE
triadic
#4173DE #DE4173 #73DE41
tetradic
#4173DE #DE41C2 #DEAC41 #41DE5E
square
#4173DE #DE41C2 #DEAC41 #41DE5E
split-complementary
#4173DE #DE5E41 #C2DE41
monochromatic
#183D8C #2154C0 #4173DE #7599E7 #A9C0F0

Accessibility & contrast

On white

4.44
#4173DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#4173DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4173DE
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4173DE#FFFFFF#000000##000000
##4173DE1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#377FE2
Deuteranopia (green-blind)
#0171DC
Tritanopia (blue-blind)
#008C9E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4173de;
/* rgb */ color: rgb(65, 115, 222);
/* oklch */ color: oklch(57.8% 0.172 263.2);
Tailwind
colors: {
  custom: {
    50: '#889ae9',
    500: '#4173de',
    950: '#000000',
  },
}
SCSS
$custom: #4173de;
$custom-light: #889ae9;
$custom-dark: #000000;
JSON
{
  "hex": "#4173de",
  "rgb": {
    "r": 65,
    "g": 115,
    "b": 222
  },
  "hsl": {
    "h": 220.892,
    "s": 70.404,
    "l": 56.275
  },
  "oklch": {
    "l": 0.57786,
    "c": 0.17226,
    "h": 263.2
  },
  "luminance": 0.18659
}

Semantic roles & 50–950 ramp

primary
#4173DE
secondary
#DEC99D
accent
#B43BED
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4173DE

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

Preview Lab → · Contrast checker → · Palette generator →

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