#4271AB#4271AB

#4271AB is a mid, moderate cyan. Relative luminance 0.159; OKLCH L 54.2% C 0.105 H 254.6°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#4271AB
RGBrgb(66, 113, 171)
HSLhsl(213, 44%, 46%)
HSVhsv(213, 61%, 67%)
CMYKcmyk(61.4%, 33.9%, 0%, 32.9%)
CIE-LABlab(46.85, 2.25, -35.79)
CIE-LCHlch(46.85, 35.86, 273.60°)
OKLaboklab(54.2% -0.0279 -0.1012)
OKLCHoklch(54.2% 0.105 254.6)
XYZxyz(15.4999, 15.9074, 40.7738)
Luminance0.1591 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4271AB #AB7C42
analogous
#42A6AB #4271AB #4842AB
triadic
#4271AB #AB4271 #71AB42
tetradic
#4271AB #AB42A6 #AB7C42 #42AB48
square
#4271AB #AB42A6 #AB7C42 #42AB48
split-complementary
#4271AB #AB4842 #A6AB42
monochromatic
#203753 #31547F #4271AB #6690C4 #92B0D5

Accessibility & contrast

On white

5.02
#4271AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#4271AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4271AB
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4271AB#FFFFFF#000000##FFFFFF
##4271AB1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4271ab;
/* rgb */ color: rgb(66, 113, 171);
/* oklch */ color: oklch(54.2% 0.105 254.6);
Tailwind
colors: {
  custom: {
    50: '#8099c4',
    500: '#4271ab',
    950: '#000000',
  },
}
SCSS
$custom: #4271ab;
$custom-light: #8099c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4271ab",
  "rgb": {
    "r": 66,
    "g": 113,
    "b": 171
  },
  "hsl": {
    "h": 213.143,
    "s": 44.304,
    "l": 46.471
  },
  "oklch": {
    "l": 0.54203,
    "c": 0.10499,
    "h": 254.6
  },
  "luminance": 0.15909
}

Semantic roles & 50–950 ramp

primary
#4271AB
secondary
#C0A788
accent
#9B54D4
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0D12
muted
#7C7E81

Preview Lab

Preview with #4271AB

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

Preview Lab → · Contrast checker → · Palette generator →

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