#4271DA#4271DA

#4271DA is a mid, vivid blue. Relative luminance 0.180; OKLCH L 57.1% C 0.169 H 263.8°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#4271DA
RGBrgb(66, 113, 218)
HSLhsl(221, 67%, 56%)
HSVhsv(221, 70%, 85%)
CMYKcmyk(69.7%, 48.2%, 0%, 14.5%)
CIE-LABlab(49.53, 18.86, -58.55)
CIE-LCHlch(49.53, 61.52, 287.85°)
OKLaboklab(57.14% -0.0184 -0.168)
OKLCHoklch(57.14% 0.169 263.8)
XYZxyz(20.8023, 18.0283, 68.6996)
Luminance0.1803 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4271DA #DAAB42
analogous
#42BDDA #4271DA #5F42DA
triadic
#4271DA #DA4271 #71DA42
tetradic
#4271DA #DA42BD #DAAB42 #42DA5F
square
#4271DA #DA42BD #DAAB42 #42DA5F
split-complementary
#4271DA #DA5F42 #BDDA42
monochromatic
#1A3C87 #2453BA #4271DA #7597E4 #A8BEEE

Accessibility & contrast

On white

4.56
#4271DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#4271DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4271DA
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4271DA#FFFFFF#000000##000000
##4271DA1.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#377DDE
Deuteranopia (green-blind)
#086FD8
Tritanopia (blue-blind)
#008A9B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4271da;
/* rgb */ color: rgb(66, 113, 218);
/* oklch */ color: oklch(57.1% 0.169 263.8);
Tailwind
colors: {
  custom: {
    50: '#8899e6',
    500: '#4271da',
    950: '#000000',
  },
}
SCSS
$custom: #4271da;
$custom-light: #8899e6;
$custom-dark: #000000;
JSON
{
  "hex": "#4271da",
  "rgb": {
    "r": 66,
    "g": 113,
    "b": 218
  },
  "hsl": {
    "h": 221.447,
    "s": 67.257,
    "l": 55.686
  },
  "oklch": {
    "l": 0.5714,
    "c": 0.16898,
    "h": 263.8
  },
  "luminance": 0.1803
}

Semantic roles & 50–950 ramp

primary
#4271DA
secondary
#DBC89C
accent
#B53EEA
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #4271DA

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

Preview Lab → · Contrast checker → · Palette generator →

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