#4271E0#4271E0

#4271E0 is a mid, vivid blue. Relative luminance 0.183; OKLCH L 57.6% C 0.177 H 264.3°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#4271E0
RGBrgb(66, 113, 224)
HSLhsl(222, 72%, 57%)
HSVhsv(222, 71%, 88%)
CMYKcmyk(70.5%, 49.6%, 0%, 12.2%)
CIE-LABlab(49.92, 21.01, -61.33)
CIE-LCHlch(49.92, 64.83, 288.91°)
OKLaboklab(57.56% -0.0176 -0.1761)
OKLCHoklch(57.56% 0.177 264.3)
XYZxyz(21.6017, 18.3481, 72.9096)
Luminance0.1835 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4271E0 #E0B142
analogous
#42C0E0 #4271E0 #6242E0
triadic
#4271E0 #E04271 #71E042
tetradic
#4271E0 #E042C0 #E0B142 #42E062
square
#4271E0 #E042C0 #E0B142 #42E062
split-complementary
#4271E0 #E06242 #C0E042
monochromatic
#183B90 #2051C5 #4271E0 #7799E9 #ABC0F1

Accessibility & contrast

On white

4.50
#4271E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#4271E0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4271E0
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4271E0#FFFFFF#000000##000000
##4271E01.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#307EE4
Deuteranopia (green-blind)
#0070DE
Tritanopia (blue-blind)
#008B9E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4271e0;
/* rgb */ color: rgb(66, 113, 224);
/* oklch */ color: oklch(57.6% 0.177 264.3);
Tailwind
colors: {
  custom: {
    50: '#8999ea',
    500: '#4271e0',
    950: '#000000',
  },
}
SCSS
$custom: #4271e0;
$custom-light: #8999ea;
$custom-dark: #000000;
JSON
{
  "hex": "#4271e0",
  "rgb": {
    "r": 66,
    "g": 113,
    "b": 224
  },
  "hsl": {
    "h": 222.152,
    "s": 71.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.57558,
    "c": 0.17701,
    "h": 264.3
  },
  "luminance": 0.1835
}

Semantic roles & 50–950 ramp

primary
#4271E0
secondary
#DFCC9F
accent
#B939EF
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #4271E0

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

Preview Lab → · Contrast checker → · Palette generator →

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