#4271AA#4271AA

#4271AA is a mid, moderate cyan. Relative luminance 0.159; OKLCH L 54.1% C 0.104 H 254.2°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#4271AA
RGBrgb(66, 113, 170)
HSLhsl(213, 44%, 46%)
HSVhsv(213, 61%, 67%)
CMYKcmyk(61.2%, 33.5%, 0%, 33.3%)
CIE-LABlab(46.80, 1.91, -35.29)
CIE-LCHlch(46.80, 35.34, 273.10°)
OKLaboklab(54.15% -0.0282 -0.0997)
OKLCHoklch(54.15% 0.104 254.2)
XYZxyz(15.4050, 15.8694, 40.2737)
Luminance0.1587 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4271AA #AA7B42
analogous
#42A5AA #4271AA #4742AA
triadic
#4271AA #AA4271 #71AA42
tetradic
#4271AA #AA42A5 #AA7B42 #42AA47
square
#4271AA #AA42A5 #AA7B42 #42AA47
split-complementary
#4271AA #AA4742 #A5AA42
monochromatic
#203652 #31547E #4271AA #6690C3 #92B0D5

Accessibility & contrast

On white

5.03
#4271AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#4271AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4271AA#FFFFFF#000000##FFFFFF
##4271AA1.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5974AC
Deuteranopia (green-blind)
#4B6AA9
Tritanopia (blue-blind)
#007E86
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4271aa;
/* rgb */ color: rgb(66, 113, 170);
/* oklch */ color: oklch(54.1% 0.104 254.2);
Tailwind
colors: {
  custom: {
    50: '#7f99c3',
    500: '#4271aa',
    950: '#000000',
  },
}
SCSS
$custom: #4271aa;
$custom-light: #7f99c3;
$custom-dark: #000000;
JSON
{
  "hex": "#4271aa",
  "rgb": {
    "r": 66,
    "g": 113,
    "b": 170
  },
  "hsl": {
    "h": 212.885,
    "s": 44.068,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54148,
    "c": 0.10364,
    "h": 254.2
  },
  "luminance": 0.15871
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4271AA

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

Preview Lab → · Contrast checker → · Palette generator →

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