#3271B5#3271B5

#3271B5 is a mid, vivid cyan. Relative luminance 0.158; OKLCH L 54.1% C 0.125 H 252.6°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#3271B5
RGBrgb(50, 113, 181)
HSLhsl(211, 57%, 45%)
HSVhsv(211, 72%, 71%)
CMYKcmyk(72.4%, 37.6%, 0%, 29%)
CIE-LABlab(46.74, 3.07, -41.83)
CIE-LCHlch(46.74, 41.95, 274.20°)
OKLaboklab(54.11% -0.0372 -0.1191)
OKLCHoklch(54.11% 0.125 252.6)
XYZxyz(15.5579, 15.8228, 45.9413)
Luminance0.1583 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3271B5 #B57632
analogous
#32B2B5 #3271B5 #3432B5
triadic
#3271B5 #B53271 #71B532
tetradic
#3271B5 #B532B2 #B57632 #32B534
square
#3271B5 #B532B2 #B57632 #32B534
split-complementary
#3271B5 #B53432 #B2B532
monochromatic
#183555 #255385 #3271B5 #5490D0 #84AFDD

Accessibility & contrast

On white

5.04
#3271B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#3271B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3271B5
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3271B5#FFFFFF#000000##FFFFFF
##3271B51.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5275B8
Deuteranopia (green-blind)
#3E69B4
Tritanopia (blue-blind)
#00818A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #3271b5;
/* rgb */ color: rgb(50, 113, 181);
/* oklch */ color: oklch(54.1% 0.125 252.6);
Tailwind
colors: {
  custom: {
    50: '#7a99cb',
    500: '#3271b5',
    950: '#000000',
  },
}
SCSS
$custom: #3271b5;
$custom-light: #7a99cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3271b5",
  "rgb": {
    "r": 50,
    "g": 113,
    "b": 181
  },
  "hsl": {
    "h": 211.145,
    "s": 56.71,
    "l": 45.294
  },
  "oklch": {
    "l": 0.54111,
    "c": 0.12478,
    "h": 252.6
  },
  "luminance": 0.15825
}

Semantic roles & 50–950 ramp

primary
#3271B5
secondary
#C7A37C
accent
#9748E0
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #3271B5

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

Preview Lab → · Contrast checker → · Palette generator →

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