#4271D0#4271D0

#4271D0 is a mid, vivid blue. Relative luminance 0.175; OKLCH L 56.5% C 0.155 H 262.7°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#4271D0
RGBrgb(66, 113, 208)
HSLhsl(220, 60%, 54%)
HSVhsv(220, 68%, 82%)
CMYKcmyk(68.3%, 45.7%, 0%, 18.4%)
CIE-LABlab(48.91, 15.28, -53.87)
CIE-LCHlch(48.91, 56.00, 285.84°)
OKLaboklab(56.47% -0.0198 -0.1542)
OKLCHoklch(56.47% 0.155 262.7)
XYZxyz(19.5330, 17.5206, 62.0147)
Luminance0.1752 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4271D0 #D0A142
analogous
#42B8D0 #4271D0 #5A42D0
triadic
#4271D0 #D04271 #71D042
tetradic
#4271D0 #D042B8 #D0A142 #42D05A
square
#4271D0 #D042B8 #D0A142 #42D05A
split-complementary
#4271D0 #D05A42 #B8D042
monochromatic
#1E3C79 #2A55AA #4271D0 #7396DC #A4BBE8

Accessibility & contrast

On white

4.66
#4271D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#4271D0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4271D0
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4271D0#FFFFFF#000000##FFFFFF
##4271D01.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#417BD4
Deuteranopia (green-blind)
#256ECE
Tritanopia (blue-blind)
#008796
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4271d0;
/* rgb */ color: rgb(66, 113, 208);
/* oklch */ color: oklch(56.5% 0.155 262.7);
Tailwind
colors: {
  custom: {
    50: '#8699df',
    500: '#4271d0',
    950: '#000000',
  },
}
SCSS
$custom: #4271d0;
$custom-light: #8699df;
$custom-dark: #000000;
JSON
{
  "hex": "#4271d0",
  "rgb": {
    "r": 66,
    "g": 113,
    "b": 208
  },
  "hsl": {
    "h": 220.141,
    "s": 60.169,
    "l": 53.725
  },
  "oklch": {
    "l": 0.56465,
    "c": 0.15547,
    "h": 262.7
  },
  "luminance": 0.17523
}

Semantic roles & 50–950 ramp

primary
#4271D0
secondary
#D5C199
accent
#AF44E3
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #4271D0

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

Preview Lab → · Contrast checker → · Palette generator →

#4271D0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva