#4271CE#4271CE

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

Color values

HEX#4271CE
RGBrgb(66, 113, 206)
HSLhsl(220, 59%, 53%)
HSVhsv(220, 68%, 81%)
CMYKcmyk(68%, 45.1%, 0%, 19.2%)
CIE-LABlab(48.79, 14.57, -52.92)
CIE-LCHlch(48.79, 54.89, 285.39°)
OKLaboklab(56.33% -0.0202 -0.1514)
OKLCHoklch(56.33% 0.153 262.4)
XYZxyz(19.2885, 17.4228, 60.7270)
Luminance0.1742 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4271CE #CE9F42
analogous
#42B7CE #4271CE #5942CE
triadic
#4271CE #CE4271 #71CE42
tetradic
#4271CE #CE42B7 #CE9F42 #42CE59
square
#4271CE #CE42B7 #CE9F42 #42CE59
split-complementary
#4271CE #CE5942 #B7CE42
monochromatic
#1F3C77 #2B55A7 #4271CE #7396DB #A3BAE7

Accessibility & contrast

On white

4.68
#4271CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4271CE
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4271CE#FFFFFF#000000##FFFFFF
##4271CE1.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.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: #4271ce;
/* rgb */ color: rgb(66, 113, 206);
/* oklch */ color: oklch(56.3% 0.153 262.4);
Tailwind
colors: {
  custom: {
    50: '#8599dd',
    500: '#4271ce',
    950: '#000000',
  },
}
SCSS
$custom: #4271ce;
$custom-light: #8599dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4271ce",
  "rgb": {
    "r": 66,
    "g": 113,
    "b": 206
  },
  "hsl": {
    "h": 219.857,
    "s": 58.824,
    "l": 53.333
  },
  "oklch": {
    "l": 0.56333,
    "c": 0.15275,
    "h": 262.4
  },
  "luminance": 0.17425
}

Semantic roles & 50–950 ramp

primary
#4271CE
secondary
#D4C098
accent
#AE46E2
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #4271CE

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

Preview Lab → · Contrast checker → · Palette generator →

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