#4271C0#4271C0

#4271C0 is a mid, vivid blue. Relative luminance 0.168; OKLCH L 55.4% C 0.134 H 260.2°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#4271C0
RGBrgb(66, 113, 192)
HSLhsl(218, 50%, 51%)
HSVhsv(218, 66%, 75%)
CMYKcmyk(65.6%, 41.1%, 0%, 24.7%)
CIE-LABlab(47.97, 9.59, -46.20)
CIE-LCHlch(47.97, 47.18, 281.72°)
OKLaboklab(55.44% -0.0228 -0.1317)
OKLCHoklch(55.44% 0.134 260.2)
XYZxyz(17.6629, 16.7726, 52.1655)
Luminance0.1677 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4271C0 #C09142
analogous
#42B0C0 #4271C0 #5242C0
triadic
#4271C0 #C04271 #71C042
tetradic
#4271C0 #C042B0 #C09142 #42C052
square
#4271C0 #C042B0 #C09142 #42C052
split-complementary
#4271C0 #C05242 #B0C042
monochromatic
#223B66 #315694 #4271C0 #7093CF #9EB6DF

Accessibility & contrast

On white

4.82
#4271C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#4271C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4271C0
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4271C0#FFFFFF#000000##FFFFFF
##4271C01.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D78C3
Deuteranopia (green-blind)
#3A6CBE
Tritanopia (blue-blind)
#00838F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4271c0;
/* rgb */ color: rgb(66, 113, 192);
/* oklch */ color: oklch(55.4% 0.134 260.2);
Tailwind
colors: {
  custom: {
    50: '#8399d3',
    500: '#4271c0',
    950: '#000000',
  },
}
SCSS
$custom: #4271c0;
$custom-light: #8399d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4271c0",
  "rgb": {
    "r": 66,
    "g": 113,
    "b": 192
  },
  "hsl": {
    "h": 217.619,
    "s": 50,
    "l": 50.588
  },
  "oklch": {
    "l": 0.55439,
    "c": 0.13362,
    "h": 260.2
  },
  "luminance": 0.16774
}

Semantic roles & 50–950 ramp

primary
#4271C0
secondary
#CBB693
accent
#A64EDA
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0D14
muted
#7D7E83

Preview Lab

Preview with #4271C0

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

Preview Lab → · Contrast checker → · Palette generator →

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