#4271A4#4271A4

#4271A4 is a mid, moderate cyan. Relative luminance 0.156; OKLCH L 53.8% C 0.096 H 251.8°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#4271A4
RGBrgb(66, 113, 164)
HSLhsl(211, 43%, 45%)
HSVhsv(211, 60%, 64%)
CMYKcmyk(59.8%, 31.1%, 0%, 35.7%)
CIE-LABlab(46.51, -0.13, -32.23)
CIE-LCHlch(46.51, 32.23, 269.76°)
OKLaboklab(53.82% -0.0299 -0.0909)
OKLCHoklch(53.82% 0.096 251.8)
XYZxyz(14.8503, 15.6475, 37.3524)
Luminance0.1565 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4271A4 #A47542
analogous
#42A2A4 #4271A4 #4442A4
triadic
#4271A4 #A44271 #71A442
tetradic
#4271A4 #A442A2 #A47542 #42A444
square
#4271A4 #A442A2 #A47542 #42A444
split-complementary
#4271A4 #A44442 #A2A442
monochromatic
#1F354D #305378 #4271A4 #6390C0 #8FAFD2

Accessibility & contrast

On white

5.08
#4271A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#4271A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4271A4#FFFFFF#000000##FFFFFF
##4271A41.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C73A6
Deuteranopia (green-blind)
#4F6AA3
Tritanopia (blue-blind)
#007D83
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4271a4;
/* rgb */ color: rgb(66, 113, 164);
/* oklch */ color: oklch(53.8% 0.096 251.8);
Tailwind
colors: {
  custom: {
    50: '#7f99bf',
    500: '#4271a4',
    950: '#000000',
  },
}
SCSS
$custom: #4271a4;
$custom-light: #7f99bf;
$custom-dark: #000000;
JSON
{
  "hex": "#4271a4",
  "rgb": {
    "r": 66,
    "g": 113,
    "b": 164
  },
  "hsl": {
    "h": 211.224,
    "s": 42.609,
    "l": 45.098
  },
  "oklch": {
    "l": 0.53821,
    "c": 0.09567,
    "h": 251.8
  },
  "luminance": 0.15649
}

Semantic roles & 50–950 ramp

primary
#4271A4
secondary
#BDA285
accent
#9655D2
background
#F8F9FB
surface
#EFF2F7
border
#CACCD0
text
#0B0D12
muted
#7C7E81

Preview Lab

Preview with #4271A4

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

Preview Lab → · Contrast checker → · Palette generator →

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