#4171DB#4171DB

#4171DB is a mid, vivid blue. Relative luminance 0.180; OKLCH L 57.2% C 0.171 H 263.6°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#4171DB
RGBrgb(65, 113, 219)
HSLhsl(221, 68%, 56%)
HSVhsv(221, 70%, 86%)
CMYKcmyk(70.3%, 48.4%, 0%, 14.1%)
CIE-LABlab(49.55, 19.08, -59.09)
CIE-LCHlch(49.55, 62.09, 287.89°)
OKLaboklab(57.17% -0.019 -0.1696)
OKLCHoklch(57.17% 0.171 263.6)
XYZxyz(20.8668, 18.0464, 69.3877)
Luminance0.1805 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4171DB #DBAB41
analogous
#41BEDB #4171DB #5E41DB
triadic
#4171DB #DB4171 #71DB41
tetradic
#4171DB #DB41BE #DBAB41 #41DB5E
square
#4171DB #DB41BE #DBAB41 #41DB5E
split-complementary
#4171DB #DB5E41 #BEDB41
monochromatic
#1A3C88 #2353BB #4171DB #7497E5 #A8BEEE

Accessibility & contrast

On white

4.56
#4171DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#4171DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4171DB
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4171DB#FFFFFF#000000##000000
##4171DB1.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#367DDF
Deuteranopia (green-blind)
#006FD9
Tritanopia (blue-blind)
#008A9B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4171db;
/* rgb */ color: rgb(65, 113, 219);
/* oklch */ color: oklch(57.2% 0.171 263.6);
Tailwind
colors: {
  custom: {
    50: '#8899e7',
    500: '#4171db',
    950: '#000000',
  },
}
SCSS
$custom: #4171db;
$custom-light: #8899e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4171db",
  "rgb": {
    "r": 65,
    "g": 113,
    "b": 219
  },
  "hsl": {
    "h": 221.299,
    "s": 68.142,
    "l": 55.686
  },
  "oklch": {
    "l": 0.57166,
    "c": 0.17062,
    "h": 263.6
  },
  "luminance": 0.18049
}

Semantic roles & 50–950 ramp

primary
#4171DB
secondary
#DCC89C
accent
#B53DEB
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #4171DB

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

Preview Lab → · Contrast checker → · Palette generator →

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