#3271BD#3271BD

#3271BD is a mid, vivid cyan. Relative luminance 0.162; OKLCH L 54.6% C 0.135 H 254.9°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#3271BD
RGBrgb(50, 113, 189)
HSLhsl(213, 58%, 47%)
HSVhsv(213, 74%, 74%)
CMYKcmyk(73.5%, 40.2%, 0%, 25.9%)
CIE-LABlab(47.18, 6.03, -45.76)
CIE-LCHlch(47.18, 46.16, 277.50°)
OKLaboklab(54.6% -0.0353 -0.1306)
OKLCHoklch(54.6% 0.135 254.9)
XYZxyz(16.4024, 16.1607, 50.3891)
Luminance0.1616 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3271BD #BD7E32
analogous
#32B7BD #3271BD #3932BD
triadic
#3271BD #BD3271 #71BD32
tetradic
#3271BD #BD32B7 #BD7E32 #32BD39
square
#3271BD #BD32B7 #BD7E32 #32BD39
split-complementary
#3271BD #BD3932 #B7BD32
monochromatic
#18375C #25548D #3271BD #5990D3 #89B1E0

Accessibility & contrast

On white

4.96
#3271BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#3271BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3271BD
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3271BD#FFFFFF#000000##FFFFFF
##3271BD1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D77C0
Deuteranopia (green-blind)
#376ABB
Tritanopia (blue-blind)
#00838E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #3271bd;
/* rgb */ color: rgb(50, 113, 189);
/* oklch */ color: oklch(54.6% 0.135 254.9);
Tailwind
colors: {
  custom: {
    50: '#7c99d1',
    500: '#3271bd',
    950: '#000000',
  },
}
SCSS
$custom: #3271bd;
$custom-light: #7c99d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3271bd",
  "rgb": {
    "r": 50,
    "g": 113,
    "b": 189
  },
  "hsl": {
    "h": 212.806,
    "s": 58.159,
    "l": 46.863
  },
  "oklch": {
    "l": 0.54601,
    "c": 0.1353,
    "h": 254.9
  },
  "luminance": 0.16162
}

Semantic roles & 50–950 ramp

primary
#3271BD
secondary
#CAA981
accent
#9B46E1
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #3271BD

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

Preview Lab → · Contrast checker → · Palette generator →

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