#4271AC#4271AC

#4271AC is a mid, moderate cyan. Relative luminance 0.159; OKLCH L 54.3% C 0.106 H 254.9°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#4271AC
RGBrgb(66, 113, 172)
HSLhsl(213, 45%, 47%)
HSVhsv(213, 62%, 67%)
CMYKcmyk(61.6%, 34.3%, 0%, 32.5%)
CIE-LABlab(46.90, 2.60, -36.30)
CIE-LCHlch(46.90, 36.39, 274.09°)
OKLaboklab(54.26% -0.0276 -0.1027)
OKLCHoklch(54.26% 0.106 254.9)
XYZxyz(15.5956, 15.9456, 41.2777)
Luminance0.1595 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4271AC #AC7D42
analogous
#42A6AC #4271AC #4842AC
triadic
#4271AC #AC4271 #71AC42
tetradic
#4271AC #AC42A6 #AC7D42 #42AC48
square
#4271AC #AC42A6 #AC7D42 #42AC48
split-complementary
#4271AC #AC4842 #A6AC42
monochromatic
#203754 #315480 #4271AC #6790C5 #93B0D6

Accessibility & contrast

On white

5.01
#4271AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#4271AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4271AC
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4271AC#FFFFFF#000000##FFFFFF
##4271AC1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5875AE
Deuteranopia (green-blind)
#4A6BAB
Tritanopia (blue-blind)
#007E86
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4271ac;
/* rgb */ color: rgb(66, 113, 172);
/* oklch */ color: oklch(54.3% 0.106 254.9);
Tailwind
colors: {
  custom: {
    50: '#8099c5',
    500: '#4271ac',
    950: '#000000',
  },
}
SCSS
$custom: #4271ac;
$custom-light: #8099c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4271ac",
  "rgb": {
    "r": 66,
    "g": 113,
    "b": 172
  },
  "hsl": {
    "h": 213.396,
    "s": 44.538,
    "l": 46.667
  },
  "oklch": {
    "l": 0.54259,
    "c": 0.10634,
    "h": 254.9
  },
  "luminance": 0.15947
}

Semantic roles & 50–950 ramp

primary
#4271AC
secondary
#C1A889
accent
#9B54D4
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0D13
muted
#7C7E82

Preview Lab

Preview with #4271AC

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

Preview Lab → · Contrast checker → · Palette generator →

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