#3271A6#3271A6

#3271A6 is a mid, moderate cyan. Relative luminance 0.152; OKLCH L 53.2% C 0.106 H 246.9°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#3271A6
RGBrgb(50, 113, 166)
HSLhsl(207, 54%, 42%)
HSVhsv(207, 70%, 65%)
CMYKcmyk(69.9%, 31.9%, 0%, 34.9%)
CIE-LABlab(45.96, -2.38, -34.31)
CIE-LCHlch(45.96, 34.39, 266.03°)
OKLaboklab(53.24% -0.0414 -0.0971)
OKLCHoklch(53.24% 0.106 246.9)
XYZxyz(14.1009, 15.2400, 38.2675)
Luminance0.1524 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3271A6 #A66732
analogous
#32A6A1 #3271A6 #3237A6
triadic
#3271A6 #A63271 #71A632
tetradic
#3271A6 #A132A6 #A66732 #37A632
square
#3271A6 #A132A6 #A66732 #37A632
split-complementary
#3271A6 #A63237 #A6A132
monochromatic
#163148 #245177 #3271A6 #4C90C9 #7BADD7

Accessibility & contrast

On white

5.19
#3271A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#3271A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3271A6
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3271A6#FFFFFF#000000##FFFFFF
##3271A61.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3271a6;
/* rgb */ color: rgb(50, 113, 166);
/* oklch */ color: oklch(53.2% 0.106 246.9);
Tailwind
colors: {
  custom: {
    50: '#7899c0',
    500: '#3271a6',
    950: '#000000',
  },
}
SCSS
$custom: #3271a6;
$custom-light: #7899c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3271a6",
  "rgb": {
    "r": 50,
    "g": 113,
    "b": 166
  },
  "hsl": {
    "h": 207.414,
    "s": 53.704,
    "l": 42.353
  },
  "oklch": {
    "l": 0.53244,
    "c": 0.10559,
    "h": 246.9
  },
  "luminance": 0.15242
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3271A6

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

Preview Lab → · Contrast checker → · Palette generator →

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