#4271D3#4271D3

#4271D3 is a mid, vivid blue. Relative luminance 0.177; OKLCH L 56.7% C 0.160 H 263.0°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#4271D3
RGBrgb(66, 113, 211)
HSLhsl(221, 62%, 54%)
HSVhsv(221, 69%, 83%)
CMYKcmyk(68.7%, 46.4%, 0%, 17.3%)
CIE-LABlab(49.09, 16.35, -55.28)
CIE-LCHlch(49.09, 57.65, 286.48°)
OKLaboklab(56.67% -0.0194 -0.1584)
OKLCHoklch(56.67% 0.16 263)
XYZxyz(19.9056, 17.6696, 63.9769)
Luminance0.1767 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4271D3 #D3A442
analogous
#42B9D3 #4271D3 #5C42D3
triadic
#4271D3 #D34271 #71D342
tetradic
#4271D3 #D342B9 #D3A442 #42D35C
square
#4271D3 #D342B9 #D3A442 #42D35C
split-complementary
#4271D3 #D35C42 #B9D342
monochromatic
#1D3C7D #2954AF #4271D3 #7496DF #A5BCEA

Accessibility & contrast

On white

4.63
#4271D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#4271D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4271D3
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4271D3#FFFFFF#000000##FFFFFF
##4271D31.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E7CD7
Deuteranopia (green-blind)
#1F6ED1
Tritanopia (blue-blind)
#008898
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4271d3;
/* rgb */ color: rgb(66, 113, 211);
/* oklch */ color: oklch(56.7% 0.160 263.0);
Tailwind
colors: {
  custom: {
    50: '#8699e1',
    500: '#4271d3',
    950: '#000000',
  },
}
SCSS
$custom: #4271d3;
$custom-light: #8699e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4271d3",
  "rgb": {
    "r": 66,
    "g": 113,
    "b": 211
  },
  "hsl": {
    "h": 220.552,
    "s": 62.232,
    "l": 54.314
  },
  "oklch": {
    "l": 0.56665,
    "c": 0.15954,
    "h": 263
  },
  "luminance": 0.17672
}

Semantic roles & 50–950 ramp

primary
#4271D3
secondary
#D7C39A
accent
#B142E5
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #4271D3

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

Preview Lab → · Contrast checker → · Palette generator →

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