#3271A3#3271A3

#3271A3 is a mid, moderate cyan. Relative luminance 0.151; OKLCH L 53.1% C 0.102 H 245.4°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#3271A3
RGBrgb(50, 113, 163)
HSLhsl(207, 53%, 42%)
HSVhsv(207, 69%, 64%)
CMYKcmyk(69.3%, 30.7%, 0%, 36.1%)
CIE-LABlab(45.81, -3.46, -32.78)
CIE-LCHlch(45.81, 32.96, 263.98°)
OKLaboklab(53.08% -0.0424 -0.0927)
OKLCHoklch(53.08% 0.102 245.4)
XYZxyz(13.8289, 15.1312, 36.8350)
Luminance0.1513 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3271A3 #A36432
analogous
#32A39D #3271A3 #3238A3
triadic
#3271A3 #A33271 #71A332
tetradic
#3271A3 #9D32A3 #A36432 #38A332
square
#3271A3 #9D32A3 #A36432 #38A332
split-complementary
#3271A3 #A33238 #A39D32
monochromatic
#153045 #245174 #3271A3 #4B90C8 #79ADD6

Accessibility & contrast

On white

5.22
#3271A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#3271A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3271A3
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3271A3#FFFFFF#000000##FFFFFF
##3271A31.005.224.035.22
#FFFFFF5.221.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B72A5
Deuteranopia (green-blind)
#4B68A2
Tritanopia (blue-blind)
#007D83
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #3271a3;
/* rgb */ color: rgb(50, 113, 163);
/* oklch */ color: oklch(53.1% 0.102 245.4);
Tailwind
colors: {
  custom: {
    50: '#7799be',
    500: '#3271a3',
    950: '#000000',
  },
}
SCSS
$custom: #3271a3;
$custom-light: #7799be;
$custom-dark: #000000;
JSON
{
  "hex": "#3271a3",
  "rgb": {
    "r": 50,
    "g": 113,
    "b": 163
  },
  "hsl": {
    "h": 206.549,
    "s": 53.052,
    "l": 41.765
  },
  "oklch": {
    "l": 0.53079,
    "c": 0.10189,
    "h": 245.4
  },
  "luminance": 0.15133
}

Semantic roles & 50–950 ramp

primary
#3271A3
secondary
#BF9472
accent
#8C4BDC
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #3271A3

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

Preview Lab → · Contrast checker → · Palette generator →

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