#4171CC#4171CC

#4171CC is a mid, vivid blue. Relative luminance 0.173; OKLCH L 56.2% C 0.150 H 261.8°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#4171CC
RGBrgb(65, 113, 204)
HSLhsl(219, 58%, 53%)
HSVhsv(219, 68%, 80%)
CMYKcmyk(68.1%, 44.6%, 0%, 20%)
CIE-LABlab(48.63, 13.69, -52.04)
CIE-LCHlch(48.63, 53.82, 284.74°)
OKLaboklab(56.16% -0.0213 -0.1488)
OKLCHoklch(56.16% 0.15 261.8)
XYZxyz(18.9803, 17.2918, 59.4524)
Luminance0.1729 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4171CC #CC9C41
analogous
#41B6CC #4171CC #5741CC
triadic
#4171CC #CC4171 #71CC41
tetradic
#4171CC #CC41B6 #CC9C41 #41CC57
square
#4171CC #CC41B6 #CC9C41 #41CC57
split-complementary
#4171CC #CC5741 #B6CC41
monochromatic
#1F3C74 #2C55A4 #4171CC #7195D9 #A1B9E6

Accessibility & contrast

On white

4.71
#4171CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#4171CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4171CC
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4171CC#FFFFFF#000000##FFFFFF
##4171CC1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#447ACF
Deuteranopia (green-blind)
#2B6ECA
Tritanopia (blue-blind)
#008694
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4171cc;
/* rgb */ color: rgb(65, 113, 204);
/* oklch */ color: oklch(56.2% 0.150 261.8);
Tailwind
colors: {
  custom: {
    50: '#8599dc',
    500: '#4171cc',
    950: '#000000',
  },
}
SCSS
$custom: #4171cc;
$custom-light: #8599dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4171cc",
  "rgb": {
    "r": 65,
    "g": 113,
    "b": 204
  },
  "hsl": {
    "h": 219.281,
    "s": 57.676,
    "l": 52.745
  },
  "oklch": {
    "l": 0.56157,
    "c": 0.15036,
    "h": 261.8
  },
  "luminance": 0.17294
}

Semantic roles & 50–950 ramp

primary
#4171CC
secondary
#D3BE96
accent
#AC47E1
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #4171CC

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

Preview Lab → · Contrast checker → · Palette generator →

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