#3271A7#3271A7

#3271A7 is a mid, moderate cyan. Relative luminance 0.153; OKLCH L 53.3% C 0.107 H 247.4°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#3271A7
RGBrgb(50, 113, 167)
HSLhsl(208, 54%, 43%)
HSVhsv(208, 70%, 65%)
CMYKcmyk(70.1%, 32.3%, 0%, 34.5%)
CIE-LABlab(46.01, -2.02, -34.82)
CIE-LCHlch(46.01, 34.88, 266.67°)
OKLaboklab(53.3% -0.0411 -0.0986)
OKLCHoklch(53.3% 0.107 247.4)
XYZxyz(14.1929, 15.2769, 38.7525)
Luminance0.1528 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3271A7 #A76832
analogous
#32A7A2 #3271A7 #3237A7
triadic
#3271A7 #A73271 #71A732
tetradic
#3271A7 #A232A7 #A76832 #37A732
square
#3271A7 #A232A7 #A76832 #37A732
split-complementary
#3271A7 #A73237 #A7A232
monochromatic
#163149 #245178 #3271A7 #4D90CA #7CADD8

Accessibility & contrast

On white

5.18
#3271A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#3271A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3271A7
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3271A7#FFFFFF#000000##FFFFFF
##3271A71.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5973A9
Deuteranopia (green-blind)
#4968A6
Tritanopia (blue-blind)
#007E84
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #3271a7;
/* rgb */ color: rgb(50, 113, 167);
/* oklch */ color: oklch(53.3% 0.107 247.4);
Tailwind
colors: {
  custom: {
    50: '#7899c1',
    500: '#3271a7',
    950: '#000000',
  },
}
SCSS
$custom: #3271a7;
$custom-light: #7899c1;
$custom-dark: #000000;
JSON
{
  "hex": "#3271a7",
  "rgb": {
    "r": 50,
    "g": 113,
    "b": 167
  },
  "hsl": {
    "h": 207.692,
    "s": 53.917,
    "l": 42.549
  },
  "oklch": {
    "l": 0.533,
    "c": 0.10683,
    "h": 247.4
  },
  "luminance": 0.15278
}

Semantic roles & 50–950 ramp

primary
#3271A7
secondary
#C09774
accent
#8E4BDD
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #3271A7

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

Preview Lab → · Contrast checker → · Palette generator →

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