#4271A5#4271A5

#4271A5 is a mid, moderate cyan. Relative luminance 0.157; OKLCH L 53.9% C 0.097 H 252.2°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#4271A5
RGBrgb(66, 113, 165)
HSLhsl(212, 43%, 45%)
HSVhsv(212, 60%, 65%)
CMYKcmyk(60%, 31.5%, 0%, 35.3%)
CIE-LABlab(46.56, 0.20, -32.74)
CIE-LCHlch(46.56, 32.74, 270.36°)
OKLaboklab(53.87% -0.0296 -0.0923)
OKLCHoklch(53.87% 0.097 252.2)
XYZxyz(14.9410, 15.6838, 37.8299)
Luminance0.1568 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4271A5 #A57642
analogous
#42A2A5 #4271A5 #4442A5
triadic
#4271A5 #A54271 #71A542
tetradic
#4271A5 #A542A2 #A57642 #42A544
square
#4271A5 #A542A2 #A57642 #42A544
split-complementary
#4271A5 #A54442 #A2A542
monochromatic
#1F354E #315379 #4271A5 #6390C1 #8FAFD2

Accessibility & contrast

On white

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

On black

4.14
#4271A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4271A5#FFFFFF#000000##FFFFFF
##4271A51.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4271a5;
/* rgb */ color: rgb(66, 113, 165);
/* oklch */ color: oklch(53.9% 0.097 252.2);
Tailwind
colors: {
  custom: {
    50: '#7f99c0',
    500: '#4271a5',
    950: '#000000',
  },
}
SCSS
$custom: #4271a5;
$custom-light: #7f99c0;
$custom-dark: #000000;
JSON
{
  "hex": "#4271a5",
  "rgb": {
    "r": 66,
    "g": 113,
    "b": 165
  },
  "hsl": {
    "h": 211.515,
    "s": 42.857,
    "l": 45.294
  },
  "oklch": {
    "l": 0.53875,
    "c": 0.09699,
    "h": 252.2
  },
  "luminance": 0.15685
}

Semantic roles & 50–950 ramp

primary
#4271A5
secondary
#BDA385
accent
#9755D3
background
#F8F9FB
surface
#EFF2F7
border
#CACCD0
text
#0B0D12
muted
#7C7E81

Preview Lab

Preview with #4271A5

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

Preview Lab → · Contrast checker → · Palette generator →

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