#3271C7#3271C7

#3271C7 is a mid, vivid cyan. Relative luminance 0.166; OKLCH L 55.2% C 0.149 H 257.1°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#3271C7
RGBrgb(50, 113, 199)
HSLhsl(215, 60%, 49%)
HSVhsv(215, 75%, 78%)
CMYKcmyk(74.9%, 43.2%, 0%, 22%)
CIE-LABlab(47.76, 9.74, -50.59)
CIE-LCHlch(47.76, 51.52, 280.90°)
OKLaboklab(55.24% -0.0332 -0.1448)
OKLCHoklch(55.24% 0.149 257.1)
XYZxyz(17.5255, 16.6099, 56.3041)
Luminance0.1661 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3271C7 #C78832
analogous
#32BCC7 #3271C7 #3E32C7
triadic
#3271C7 #C73271 #71C732
tetradic
#3271C7 #C732BC #C78832 #32C73E
square
#3271C7 #C732BC #C78832 #32C73E
split-complementary
#3271C7 #C73E32 #BCC732
monochromatic
#193965 #265596 #3271C7 #5F92D7 #90B3E3

Accessibility & contrast

On white

4.86
#3271C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#3271C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3271C7
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3271C7#FFFFFF#000000##FFFFFF
##3271C71.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4679CA
Deuteranopia (green-blind)
#2A6BC5
Tritanopia (blue-blind)
#008592
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #3271c7;
/* rgb */ color: rgb(50, 113, 199);
/* oklch */ color: oklch(55.2% 0.149 257.1);
Tailwind
colors: {
  custom: {
    50: '#7e99d8',
    500: '#3271c7',
    950: '#000000',
  },
}
SCSS
$custom: #3271c7;
$custom-light: #7e99d8;
$custom-dark: #000000;
JSON
{
  "hex": "#3271c7",
  "rgb": {
    "r": 50,
    "g": 113,
    "b": 199
  },
  "hsl": {
    "h": 214.631,
    "s": 59.839,
    "l": 48.824
  },
  "oklch": {
    "l": 0.5524,
    "c": 0.14855,
    "h": 257.1
  },
  "luminance": 0.16612
}

Semantic roles & 50–950 ramp

primary
#3271C7
secondary
#CEB087
accent
#A045E3
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #3271C7

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

Preview Lab → · Contrast checker → · Palette generator →

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