#3271AD#3271AD

#3271AD is a mid, moderate cyan. Relative luminance 0.155; OKLCH L 53.6% C 0.114 H 249.9°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#3271AD
RGBrgb(50, 113, 173)
HSLhsl(209, 55%, 44%)
HSVhsv(209, 71%, 68%)
CMYKcmyk(71.1%, 34.7%, 0%, 32.2%)
CIE-LABlab(46.32, 0.15, -37.85)
CIE-LCHlch(46.32, 37.85, 270.23°)
OKLaboklab(53.64% -0.0394 -0.1074)
OKLCHoklch(53.64% 0.114 249.9)
XYZxyz(14.7605, 15.5039, 41.7417)
Luminance0.1550 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3271AD #AD6E32
analogous
#32ADAB #3271AD #3233AD
triadic
#3271AD #AD3271 #71AD32
tetradic
#3271AD #AB32AD #AD6E32 #33AD32
square
#3271AD #AB32AD #AD6E32 #33AD32
split-complementary
#3271AD #AD3233 #ADAB32
monochromatic
#17334E #24527E #3271AD #5090CC #7FAEDA

Accessibility & contrast

On white

5.12
#3271AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#3271AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3271AD
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3271AD#FFFFFF#000000##FFFFFF
##3271AD1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5674B0
Deuteranopia (green-blind)
#4468AC
Tritanopia (blue-blind)
#007F87
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #3271ad;
/* rgb */ color: rgb(50, 113, 173);
/* oklch */ color: oklch(53.6% 0.114 249.9);
Tailwind
colors: {
  custom: {
    50: '#7999c6',
    500: '#3271ad',
    950: '#000000',
  },
}
SCSS
$custom: #3271ad;
$custom-light: #7999c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3271ad",
  "rgb": {
    "r": 50,
    "g": 113,
    "b": 173
  },
  "hsl": {
    "h": 209.268,
    "s": 55.157,
    "l": 43.725
  },
  "oklch": {
    "l": 0.5364,
    "c": 0.11442,
    "h": 249.9
  },
  "luminance": 0.15505
}

Semantic roles & 50–950 ramp

primary
#3271AD
secondary
#C39C78
accent
#9249DE
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #3271AD

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

Preview Lab → · Contrast checker → · Palette generator →

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