#3271A5#3271A5

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

Color values

HEX#3271A5
RGBrgb(50, 113, 165)
HSLhsl(207, 53%, 42%)
HSVhsv(207, 70%, 65%)
CMYKcmyk(69.7%, 31.5%, 0%, 35.3%)
CIE-LABlab(45.91, -2.74, -33.80)
CIE-LCHlch(45.91, 33.91, 265.36°)
OKLaboklab(53.19% -0.0417 -0.0956)
OKLCHoklch(53.19% 0.104 246.4)
XYZxyz(14.0095, 15.2035, 37.7863)
Luminance0.1520 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3271A5 #A56632
analogous
#32A59F #3271A5 #3238A5
triadic
#3271A5 #A53271 #71A532
tetradic
#3271A5 #9F32A5 #A56632 #38A532
square
#3271A5 #9F32A5 #A56632 #38A532
split-complementary
#3271A5 #A53238 #A59F32
monochromatic
#163147 #245176 #3271A5 #4C90C9 #7BADD7

Accessibility & contrast

On white

5.20
#3271A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#3271A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3271A5
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3271A5#FFFFFF#000000##FFFFFF
##3271A51.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A73A7
Deuteranopia (green-blind)
#4A68A4
Tritanopia (blue-blind)
#007D83
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #3271a5;
/* rgb */ color: rgb(50, 113, 165);
/* oklch */ color: oklch(53.2% 0.104 246.4);
Tailwind
colors: {
  custom: {
    50: '#7799c0',
    500: '#3271a5',
    950: '#000000',
  },
}
SCSS
$custom: #3271a5;
$custom-light: #7799c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3271a5",
  "rgb": {
    "r": 50,
    "g": 113,
    "b": 165
  },
  "hsl": {
    "h": 207.13,
    "s": 53.488,
    "l": 42.157
  },
  "oklch": {
    "l": 0.53189,
    "c": 0.10435,
    "h": 246.4
  },
  "luminance": 0.15205
}

Semantic roles & 50–950 ramp

primary
#3271A5
secondary
#BF9673
accent
#8D4BDD
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #3271A5

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

Preview Lab → · Contrast checker → · Palette generator →

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