#4271A2#4271A2

#4271A2 is a mid, moderate cyan. Relative luminance 0.156; OKLCH L 53.7% C 0.093 H 250.8°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#4271A2
RGBrgb(66, 113, 162)
HSLhsl(211, 42%, 45%)
HSVhsv(211, 59%, 64%)
CMYKcmyk(59.3%, 30.2%, 0%, 36.5%)
CIE-LABlab(46.41, -0.81, -31.21)
CIE-LCHlch(46.41, 31.22, 268.51°)
OKLaboklab(53.71% -0.0305 -0.0879)
OKLCHoklch(53.71% 0.093 250.8)
XYZxyz(14.6711, 15.5758, 36.4087)
Luminance0.1558 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4271A2 #A27342
analogous
#42A1A2 #4271A2 #4342A2
triadic
#4271A2 #A24271 #71A242
tetradic
#4271A2 #A242A1 #A27342 #42A243
square
#4271A2 #A242A1 #A27342 #42A243
split-complementary
#4271A2 #A24342 #A1A242
monochromatic
#1F344B #305377 #4271A2 #6290BF #8EAFD1

Accessibility & contrast

On white

5.10
#4271A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#4271A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4271A2#FFFFFF#000000##FFFFFF
##4271A21.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C73A4
Deuteranopia (green-blind)
#506AA1
Tritanopia (blue-blind)
#007C82
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4271a2;
/* rgb */ color: rgb(66, 113, 162);
/* oklch */ color: oklch(53.7% 0.093 250.8);
Tailwind
colors: {
  custom: {
    50: '#7e99bd',
    500: '#4271a2',
    950: '#000000',
  },
}
SCSS
$custom: #4271a2;
$custom-light: #7e99bd;
$custom-dark: #000000;
JSON
{
  "hex": "#4271a2",
  "rgb": {
    "r": 66,
    "g": 113,
    "b": 162
  },
  "hsl": {
    "h": 210.625,
    "s": 42.105,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53714,
    "c": 0.09305,
    "h": 250.8
  },
  "luminance": 0.15577
}

Semantic roles & 50–950 ramp

primary
#4271A2
secondary
#BCA084
accent
#9556D2
background
#F8F9FB
surface
#EFF2F6
border
#CACCD0
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #4271A2

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

Preview Lab → · Contrast checker → · Palette generator →

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