#4171CE#4171CE

#4171CE is a mid, vivid blue. Relative luminance 0.174; OKLCH L 56.3% C 0.153 H 262.1°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#4171CE
RGBrgb(65, 113, 206)
HSLhsl(220, 59%, 53%)
HSVhsv(220, 68%, 81%)
CMYKcmyk(68.4%, 45.1%, 0%, 19.2%)
CIE-LABlab(48.75, 14.41, -52.99)
CIE-LCHlch(48.75, 54.92, 285.21°)
OKLaboklab(56.29% -0.021 -0.1516)
OKLCHoklch(56.29% 0.153 262.1)
XYZxyz(19.2217, 17.3884, 60.7238)
Luminance0.1739 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4171CE #CE9E41
analogous
#41B8CE #4171CE #5741CE
triadic
#4171CE #CE4171 #71CE41
tetradic
#4171CE #CE41B8 #CE9E41 #41CE57
square
#4171CE #CE41B8 #CE9E41 #41CE57
split-complementary
#4171CE #CE5741 #B8CE41
monochromatic
#1E3C76 #2B55A7 #4171CE #7295DB #A2BAE7

Accessibility & contrast

On white

4.69
#4171CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#4171CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4171CE
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4171CE#FFFFFF#000000##FFFFFF
##4171CE1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#437BD2
Deuteranopia (green-blind)
#286ECC
Tritanopia (blue-blind)
#008795
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4171ce;
/* rgb */ color: rgb(65, 113, 206);
/* oklch */ color: oklch(56.3% 0.153 262.1);
Tailwind
colors: {
  custom: {
    50: '#8599dd',
    500: '#4171ce',
    950: '#000000',
  },
}
SCSS
$custom: #4171ce;
$custom-light: #8599dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4171ce",
  "rgb": {
    "r": 65,
    "g": 113,
    "b": 206
  },
  "hsl": {
    "h": 219.574,
    "s": 58.996,
    "l": 53.137
  },
  "oklch": {
    "l": 0.56288,
    "c": 0.15308,
    "h": 262.1
  },
  "luminance": 0.1739
}

Semantic roles & 50–950 ramp

primary
#4171CE
secondary
#D4BF97
accent
#AD46E2
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #4171CE

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

Preview Lab → · Contrast checker → · Palette generator →

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