#3271B6#3271B6

#3271B6 is a mid, vivid cyan. Relative luminance 0.159; OKLCH L 54.2% C 0.126 H 252.9°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#3271B6
RGBrgb(50, 113, 182)
HSLhsl(211, 57%, 45%)
HSVhsv(211, 73%, 71%)
CMYKcmyk(72.5%, 37.9%, 0%, 28.6%)
CIE-LABlab(46.80, 3.44, -42.33)
CIE-LCHlch(46.80, 42.47, 274.65°)
OKLaboklab(54.17% -0.037 -0.1205)
OKLCHoklch(54.17% 0.126 252.9)
XYZxyz(15.6609, 15.8640, 46.4836)
Luminance0.1587 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3271B6 #B67732
analogous
#32B3B6 #3271B6 #3532B6
triadic
#3271B6 #B63271 #71B632
tetradic
#3271B6 #B632B3 #B67732 #32B635
square
#3271B6 #B632B3 #B67732 #32B635
split-complementary
#3271B6 #B63532 #B3B632
monochromatic
#183556 #255386 #3271B6 #5590D0 #85AFDD

Accessibility & contrast

On white

5.03
#3271B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#3271B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3271B6
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3271B6#FFFFFF#000000##FFFFFF
##3271B61.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5176B9
Deuteranopia (green-blind)
#3D69B5
Tritanopia (blue-blind)
#00818B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #3271b6;
/* rgb */ color: rgb(50, 113, 182);
/* oklch */ color: oklch(54.2% 0.126 252.9);
Tailwind
colors: {
  custom: {
    50: '#7b99cc',
    500: '#3271b6',
    950: '#000000',
  },
}
SCSS
$custom: #3271b6;
$custom-light: #7b99cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3271b6",
  "rgb": {
    "r": 50,
    "g": 113,
    "b": 182
  },
  "hsl": {
    "h": 211.364,
    "s": 56.897,
    "l": 45.49
  },
  "oklch": {
    "l": 0.54171,
    "c": 0.12609,
    "h": 252.9
  },
  "luminance": 0.15866
}

Semantic roles & 50–950 ramp

primary
#3271B6
secondary
#C7A47D
accent
#9748E0
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #3271B6

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

Preview Lab → · Contrast checker → · Palette generator →

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