#3271C2#3271C2

#3271C2 is a mid, vivid cyan. Relative luminance 0.164; OKLCH L 54.9% C 0.142 H 256.1°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#3271C2
RGBrgb(50, 113, 194)
HSLhsl(214, 59%, 48%)
HSVhsv(214, 74%, 76%)
CMYKcmyk(74.2%, 41.8%, 0%, 23.9%)
CIE-LABlab(47.47, 7.88, -48.19)
CIE-LCHlch(47.47, 48.83, 279.29°)
OKLaboklab(54.92% -0.0342 -0.1377)
OKLCHoklch(54.92% 0.142 256.1)
XYZxyz(16.9545, 16.3815, 53.2969)
Luminance0.1638 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3271C2 #C28332
analogous
#32B9C2 #3271C2 #3B32C2
triadic
#3271C2 #C23271 #71C232
tetradic
#3271C2 #C232B9 #C28332 #32C23B
square
#3271C2 #C232B9 #C28332 #32C23B
split-complementary
#3271C2 #C23B32 #B9C232
monochromatic
#193861 #255591 #3271C2 #5C91D5 #8DB2E2

Accessibility & contrast

On white

4.91
#3271C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#3271C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3271C2
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3271C2#FFFFFF#000000##FFFFFF
##3271C21.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A78C5
Deuteranopia (green-blind)
#316AC0
Tritanopia (blue-blind)
#008490
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #3271c2;
/* rgb */ color: rgb(50, 113, 194);
/* oklch */ color: oklch(54.9% 0.142 256.1);
Tailwind
colors: {
  custom: {
    50: '#7d99d5',
    500: '#3271c2',
    950: '#000000',
  },
}
SCSS
$custom: #3271c2;
$custom-light: #7d99d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3271c2",
  "rgb": {
    "r": 50,
    "g": 113,
    "b": 194
  },
  "hsl": {
    "h": 213.75,
    "s": 59.016,
    "l": 47.843
  },
  "oklch": {
    "l": 0.54917,
    "c": 0.14192,
    "h": 256.1
  },
  "luminance": 0.16383
}

Semantic roles & 50–950 ramp

primary
#3271C2
secondary
#CCAC84
accent
#9E46E2
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #3271C2

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

Preview Lab → · Contrast checker → · Palette generator →

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