#3271BC#3271BC

#3271BC is a mid, vivid cyan. Relative luminance 0.161; OKLCH L 54.5% C 0.134 H 254.6°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#3271BC
RGBrgb(50, 113, 188)
HSLhsl(213, 58%, 47%)
HSVhsv(213, 73%, 74%)
CMYKcmyk(73.4%, 39.9%, 0%, 26.3%)
CIE-LABlab(47.13, 5.66, -45.27)
CIE-LCHlch(47.13, 45.62, 277.12°)
OKLaboklab(54.54% -0.0355 -0.1292)
OKLCHoklch(54.54% 0.134 254.6)
XYZxyz(16.2943, 16.1174, 49.8194)
Luminance0.1612 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3271BC #BC7D32
analogous
#32B6BC #3271BC #3832BC
triadic
#3271BC #BC3271 #71BC32
tetradic
#3271BC #BC32B6 #BC7D32 #32BC38
square
#3271BC #BC32B6 #BC7D32 #32BC38
split-complementary
#3271BC #BC3832 #B6BC32
monochromatic
#18375B #25548C #3271BC #5890D3 #89B0E0

Accessibility & contrast

On white

4.97
#3271BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#3271BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3271BC
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3271BC#FFFFFF#000000##FFFFFF
##3271BC1.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E77BF
Deuteranopia (green-blind)
#386ABA
Tritanopia (blue-blind)
#00838D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #3271bc;
/* rgb */ color: rgb(50, 113, 188);
/* oklch */ color: oklch(54.5% 0.134 254.6);
Tailwind
colors: {
  custom: {
    50: '#7c99d0',
    500: '#3271bc',
    950: '#000000',
  },
}
SCSS
$custom: #3271bc;
$custom-light: #7c99d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3271bc",
  "rgb": {
    "r": 50,
    "g": 113,
    "b": 188
  },
  "hsl": {
    "h": 212.609,
    "s": 57.983,
    "l": 46.667
  },
  "oklch": {
    "l": 0.54539,
    "c": 0.13398,
    "h": 254.6
  },
  "luminance": 0.16119
}

Semantic roles & 50–950 ramp

primary
#3271BC
secondary
#C9A880
accent
#9B47E1
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #3271BC

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

Preview Lab → · Contrast checker → · Palette generator →

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