#3271C4#3271C4

#3271C4 is a mid, vivid cyan. Relative luminance 0.165; OKLCH L 55.0% C 0.145 H 256.5°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#3271C4
RGBrgb(50, 113, 196)
HSLhsl(214, 59%, 48%)
HSVhsv(214, 74%, 77%)
CMYKcmyk(74.5%, 42.3%, 0%, 23.1%)
CIE-LABlab(47.59, 8.62, -49.15)
CIE-LCHlch(47.59, 49.90, 279.95°)
OKLaboklab(55.05% -0.0338 -0.1406)
OKLCHoklch(55.05% 0.145 256.5)
XYZxyz(17.1807, 16.4719, 54.4878)
Luminance0.1647 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3271C4 #C48532
analogous
#32BAC4 #3271C4 #3C32C4
triadic
#3271C4 #C43271 #71C432
tetradic
#3271C4 #C432BA #C48532 #32C43C
square
#3271C4 #C432BA #C48532 #32C43C
split-complementary
#3271C4 #C43C32 #BAC432
monochromatic
#193962 #265593 #3271C4 #5D91D6 #8EB2E2

Accessibility & contrast

On white

4.89
#3271C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#3271C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3271C4
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3271C4#FFFFFF#000000##FFFFFF
##3271C41.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3271c4;
/* rgb */ color: rgb(50, 113, 196);
/* oklch */ color: oklch(55.0% 0.145 256.5);
Tailwind
colors: {
  custom: {
    50: '#7d99d6',
    500: '#3271c4',
    950: '#000000',
  },
}
SCSS
$custom: #3271c4;
$custom-light: #7d99d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3271c4",
  "rgb": {
    "r": 50,
    "g": 113,
    "b": 196
  },
  "hsl": {
    "h": 214.11,
    "s": 59.35,
    "l": 48.235
  },
  "oklch": {
    "l": 0.55045,
    "c": 0.14457,
    "h": 256.5
  },
  "luminance": 0.16474
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3271C4

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

Preview Lab → · Contrast checker → · Palette generator →

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