#3271C1#3271C1

#3271C1 is a mid, vivid cyan. Relative luminance 0.163; OKLCH L 54.9% C 0.141 H 255.8°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#3271C1
RGBrgb(50, 113, 193)
HSLhsl(214, 59%, 48%)
HSVhsv(214, 74%, 76%)
CMYKcmyk(74.1%, 41.5%, 0%, 24.3%)
CIE-LABlab(47.41, 7.51, -47.70)
CIE-LCHlch(47.41, 48.29, 278.94°)
OKLaboklab(54.85% -0.0344 -0.1363)
OKLCHoklch(54.85% 0.141 255.8)
XYZxyz(16.8426, 16.3367, 52.7074)
Luminance0.1634 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3271C1 #C18232
analogous
#32B9C1 #3271C1 #3A32C1
triadic
#3271C1 #C13271 #71C132
tetradic
#3271C1 #C132B9 #C18232 #32C13A
square
#3271C1 #C132B9 #C18232 #32C13A
split-complementary
#3271C1 #C13A32 #B9C132
monochromatic
#193860 #255590 #3271C1 #5C91D5 #8CB2E1

Accessibility & contrast

On white

4.92
#3271C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#3271C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3271C1
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3271C1#FFFFFF#000000##FFFFFF
##3271C11.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B78C4
Deuteranopia (green-blind)
#326ABF
Tritanopia (blue-blind)
#00848F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #3271c1;
/* rgb */ color: rgb(50, 113, 193);
/* oklch */ color: oklch(54.9% 0.141 255.8);
Tailwind
colors: {
  custom: {
    50: '#7d99d4',
    500: '#3271c1',
    950: '#000000',
  },
}
SCSS
$custom: #3271c1;
$custom-light: #7d99d4;
$custom-dark: #000000;
JSON
{
  "hex": "#3271c1",
  "rgb": {
    "r": 50,
    "g": 113,
    "b": 193
  },
  "hsl": {
    "h": 213.566,
    "s": 58.848,
    "l": 47.647
  },
  "oklch": {
    "l": 0.54853,
    "c": 0.14059,
    "h": 255.8
  },
  "luminance": 0.16339
}

Semantic roles & 50–950 ramp

primary
#3271C1
secondary
#CBAC83
accent
#9D46E2
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #3271C1

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

Preview Lab → · Contrast checker → · Palette generator →

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