#3271C5#3271C5

#3271C5 is a mid, vivid cyan. Relative luminance 0.165; OKLCH L 55.1% C 0.146 H 256.7°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#3271C5
RGBrgb(50, 113, 197)
HSLhsl(214, 60%, 48%)
HSVhsv(214, 75%, 77%)
CMYKcmyk(74.6%, 42.6%, 0%, 22.7%)
CIE-LABlab(47.65, 8.99, -49.63)
CIE-LCHlch(47.65, 50.44, 280.27°)
OKLaboklab(55.11% -0.0336 -0.142)
OKLCHoklch(55.11% 0.146 256.7)
XYZxyz(17.2949, 16.5176, 55.0892)
Luminance0.1652 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3271C5 #C58632
analogous
#32BAC5 #3271C5 #3D32C5
triadic
#3271C5 #C53271 #71C532
tetradic
#3271C5 #C532BA #C58632 #32C53D
square
#3271C5 #C532BA #C58632 #32C53D
split-complementary
#3271C5 #C53D32 #BAC532
monochromatic
#193963 #265594 #3271C5 #5E92D6 #8FB3E3

Accessibility & contrast

On white

4.88
#3271C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#3271C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3271C5
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3271C5#FFFFFF#000000##FFFFFF
##3271C51.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4878C8
Deuteranopia (green-blind)
#2D6BC3
Tritanopia (blue-blind)
#008591
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #3271c5;
/* rgb */ color: rgb(50, 113, 197);
/* oklch */ color: oklch(55.1% 0.146 256.7);
Tailwind
colors: {
  custom: {
    50: '#7d99d7',
    500: '#3271c5',
    950: '#000000',
  },
}
SCSS
$custom: #3271c5;
$custom-light: #7d99d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3271c5",
  "rgb": {
    "r": 50,
    "g": 113,
    "b": 197
  },
  "hsl": {
    "h": 214.286,
    "s": 59.514,
    "l": 48.431
  },
  "oklch": {
    "l": 0.5511,
    "c": 0.1459,
    "h": 256.7
  },
  "luminance": 0.1652
}

Semantic roles & 50–950 ramp

primary
#3271C5
secondary
#CDAE86
accent
#9F45E3
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #3271C5

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

Preview Lab → · Contrast checker → · Palette generator →

#3271C5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva