#4171EA#4171EA

#4171EA is a mid, vivid blue. Relative luminance 0.189; OKLCH L 58.2% C 0.191 H 264.8°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#4171EA
RGBrgb(65, 113, 234)
HSLhsl(223, 80%, 59%)
HSVhsv(223, 72%, 92%)
CMYKcmyk(72.2%, 51.7%, 0%, 8.2%)
CIE-LABlab(50.54, 24.47, -65.95)
CIE-LCHlch(50.54, 70.34, 290.36°)
OKLaboklab(58.23% -0.0173 -0.1897)
OKLCHoklch(58.23% 0.191 264.8)
XYZxyz(22.9311, 18.8721, 80.2601)
Luminance0.1888 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4171EA #EABA41
analogous
#41C5EA #4171EA #6541EA
triadic
#4171EA #EA4171 #71EA41
tetradic
#4171EA #EA41C5 #EABA41 #41EA65
square
#4171EA #EA41C5 #EABA41 #41EA65
split-complementary
#4171EA #EA6541 #C5EA41
monochromatic
#123A9F #184ED6 #4171EA #789AF0 #AFC3F6

Accessibility & contrast

On white

4.40
#4171EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#4171EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4171EA
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4171EA#FFFFFF#000000##000000
##4171EA1.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E80EE
Deuteranopia (green-blind)
#0071E8
Tritanopia (blue-blind)
#008EA3
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4171ea;
/* rgb */ color: rgb(65, 113, 234);
/* oklch */ color: oklch(58.2% 0.191 264.8);
Tailwind
colors: {
  custom: {
    50: '#8b99f1',
    500: '#4171ea',
    950: '#000000',
  },
}
SCSS
$custom: #4171ea;
$custom-light: #8b99f1;
$custom-dark: #000000;
JSON
{
  "hex": "#4171ea",
  "rgb": {
    "r": 65,
    "g": 113,
    "b": 234
  },
  "hsl": {
    "h": 222.959,
    "s": 80.095,
    "l": 58.627
  },
  "oklch": {
    "l": 0.5823,
    "c": 0.19053,
    "h": 264.8
  },
  "luminance": 0.18875
}

Semantic roles & 50–950 ramp

primary
#4171EA
secondary
#E5D2A2
accent
#BF31F7
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0D17
muted
#7E7E85

Preview Lab

Preview with #4171EA

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

Preview Lab → · Contrast checker → · Palette generator →

#4171EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva