#4271CD#4271CD

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

Color values

HEX#4271CD
RGBrgb(66, 113, 205)
HSLhsl(220, 58%, 53%)
HSVhsv(220, 68%, 80%)
CMYKcmyk(67.8%, 44.9%, 0%, 19.6%)
CIE-LABlab(48.73, 14.21, -52.45)
CIE-LCHlch(48.73, 54.34, 285.16°)
OKLaboklab(56.27% -0.0203 -0.15)
OKLCHoklch(56.27% 0.151 262.3)
XYZxyz(19.1674, 17.3744, 60.0892)
Luminance0.1738 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4271CD #CD9E42
analogous
#42B7CD #4271CD #5842CD
triadic
#4271CD #CD4271 #71CD42
tetradic
#4271CD #CD42B7 #CD9E42 #42CD58
square
#4271CD #CD42B7 #CD9E42 #42CD58
split-complementary
#4271CD #CD5842 #B7CD42
monochromatic
#1F3C76 #2C55A6 #4271CD #7295DA #A3BAE7

Accessibility & contrast

On white

4.69
#4271CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4271CD
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4271CD#FFFFFF#000000##FFFFFF
##4271CD1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#447BD0
Deuteranopia (green-blind)
#2A6ECB
Tritanopia (blue-blind)
#008695
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4271cd;
/* rgb */ color: rgb(66, 113, 205);
/* oklch */ color: oklch(56.3% 0.151 262.3);
Tailwind
colors: {
  custom: {
    50: '#8599dd',
    500: '#4271cd',
    950: '#000000',
  },
}
SCSS
$custom: #4271cd;
$custom-light: #8599dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4271cd",
  "rgb": {
    "r": 66,
    "g": 113,
    "b": 205
  },
  "hsl": {
    "h": 219.712,
    "s": 58.159,
    "l": 53.137
  },
  "oklch": {
    "l": 0.56267,
    "c": 0.15139,
    "h": 262.3
  },
  "luminance": 0.17376
}

Semantic roles & 50–950 ramp

primary
#4271CD
secondary
#D3BF97
accent
#AD46E1
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #4271CD

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

Preview Lab → · Contrast checker → · Palette generator →

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