#4271CC#4271CC

#4271CC is a mid, vivid blue. Relative luminance 0.173; OKLCH L 56.2% C 0.150 H 262.1°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#4271CC
RGBrgb(66, 113, 204)
HSLhsl(220, 58%, 53%)
HSVhsv(220, 68%, 80%)
CMYKcmyk(67.6%, 44.6%, 0%, 20%)
CIE-LABlab(48.67, 13.85, -51.97)
CIE-LCHlch(48.67, 53.79, 284.92°)
OKLaboklab(56.2% -0.0205 -0.1486)
OKLCHoklch(56.2% 0.15 262.1)
XYZxyz(19.0471, 17.3262, 59.4555)
Luminance0.1733 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4271CC #CC9D42
analogous
#42B6CC #4271CC #5842CC
triadic
#4271CC #CC4271 #71CC42
tetradic
#4271CC #CC42B6 #CC9D42 #42CC58
square
#4271CC #CC42B6 #CC9D42 #42CC58
split-complementary
#4271CC #CC5842 #B6CC42
monochromatic
#1F3C74 #2C55A4 #4271CC #7295D9 #A2B9E6

Accessibility & contrast

On white

4.70
#4271CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#4271CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4271CC
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4271CC#FFFFFF#000000##FFFFFF
##4271CC1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#447ACF
Deuteranopia (green-blind)
#2B6ECA
Tritanopia (blue-blind)
#008694
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4271cc;
/* rgb */ color: rgb(66, 113, 204);
/* oklch */ color: oklch(56.2% 0.150 262.1);
Tailwind
colors: {
  custom: {
    50: '#8599dc',
    500: '#4271cc',
    950: '#000000',
  },
}
SCSS
$custom: #4271cc;
$custom-light: #8599dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4271cc",
  "rgb": {
    "r": 66,
    "g": 113,
    "b": 204
  },
  "hsl": {
    "h": 219.565,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.56202,
    "c": 0.15003,
    "h": 262.1
  },
  "luminance": 0.17328
}

Semantic roles & 50–950 ramp

primary
#4271CC
secondary
#D3BE97
accent
#AC47E1
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #4271CC

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

Preview Lab → · Contrast checker → · Palette generator →

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