#3271A1#3271A1

#3271A1 is a mid, moderate cyan. Relative luminance 0.151; OKLCH L 53.0% C 0.099 H 244.4°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#3271A1
RGBrgb(50, 113, 161)
HSLhsl(206, 53%, 41%)
HSVhsv(206, 69%, 63%)
CMYKcmyk(68.9%, 29.8%, 0%, 36.9%)
CIE-LABlab(45.72, -4.17, -31.76)
CIE-LCHlch(45.72, 32.03, 262.51°)
OKLaboklab(52.97% -0.043 -0.0897)
OKLCHoklch(52.97% 0.099 244.4)
XYZxyz(13.6511, 15.0601, 35.8988)
Luminance0.1506 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3271A1 #A16232
analogous
#32A19A #3271A1 #323AA1
triadic
#3271A1 #A13271 #71A132
tetradic
#3271A1 #9A32A1 #A16232 #3AA132
square
#3271A1 #9A32A1 #A16232 #3AA132
split-complementary
#3271A1 #A1323A #A19A32
monochromatic
#152F44 #235072 #3271A1 #4A91C7 #78ADD5

Accessibility & contrast

On white

5.23
#3271A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#3271A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3271A1
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3271A1#FFFFFF#000000##FFFFFF
##3271A11.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B72A3
Deuteranopia (green-blind)
#4C67A0
Tritanopia (blue-blind)
#007D82
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #3271a1;
/* rgb */ color: rgb(50, 113, 161);
/* oklch */ color: oklch(53.0% 0.099 244.4);
Tailwind
colors: {
  custom: {
    50: '#7799bd',
    500: '#3271a1',
    950: '#000000',
  },
}
SCSS
$custom: #3271a1;
$custom-light: #7799bd;
$custom-dark: #000000;
JSON
{
  "hex": "#3271a1",
  "rgb": {
    "r": 50,
    "g": 113,
    "b": 161
  },
  "hsl": {
    "h": 205.946,
    "s": 52.607,
    "l": 41.373
  },
  "oklch": {
    "l": 0.52971,
    "c": 0.09947,
    "h": 244.4
  },
  "luminance": 0.15062
}

Semantic roles & 50–950 ramp

primary
#3271A1
secondary
#BE9271
accent
#8A4CDC
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #3271A1

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

Preview Lab → · Contrast checker → · Palette generator →

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