#3271A2#3271A2

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

Color values

HEX#3271A2
RGBrgb(50, 113, 162)
HSLhsl(206, 53%, 42%)
HSVhsv(206, 69%, 64%)
CMYKcmyk(69.1%, 30.2%, 0%, 36.5%)
CIE-LABlab(45.76, -3.82, -32.27)
CIE-LCHlch(45.76, 32.50, 263.26°)
OKLaboklab(53.03% -0.0427 -0.0912)
OKLCHoklch(53.03% 0.101 244.9)
XYZxyz(13.7396, 15.0955, 36.3650)
Luminance0.1510 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3271A2 #A26332
analogous
#32A29B #3271A2 #3239A2
triadic
#3271A2 #A23271 #71A232
tetradic
#3271A2 #9B32A2 #A26332 #39A232
square
#3271A2 #9B32A2 #A26332 #39A232
split-complementary
#3271A2 #A23239 #A29B32
monochromatic
#153044 #245073 #3271A2 #4A90C7 #79ADD6

Accessibility & contrast

On white

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

On black

4.02
#3271A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3271A2#FFFFFF#000000##FFFFFF
##3271A21.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3271a2;
/* rgb */ color: rgb(50, 113, 162);
/* oklch */ color: oklch(53.0% 0.101 244.9);
Tailwind
colors: {
  custom: {
    50: '#7799bd',
    500: '#3271a2',
    950: '#000000',
  },
}
SCSS
$custom: #3271a2;
$custom-light: #7799bd;
$custom-dark: #000000;
JSON
{
  "hex": "#3271a2",
  "rgb": {
    "r": 50,
    "g": 113,
    "b": 162
  },
  "hsl": {
    "h": 206.25,
    "s": 52.83,
    "l": 41.569
  },
  "oklch": {
    "l": 0.53025,
    "c": 0.10068,
    "h": 244.9
  },
  "luminance": 0.15097
}

Semantic roles & 50–950 ramp

primary
#3271A2
secondary
#BE9372
accent
#8B4CDC
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #3271A2

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

Preview Lab → · Contrast checker → · Palette generator →

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