#3271AE#3271AE

#3271AE is a mid, moderate cyan. Relative luminance 0.155; OKLCH L 53.7% C 0.116 H 250.2°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#3271AE
RGBrgb(50, 113, 174)
HSLhsl(210, 55%, 44%)
HSVhsv(210, 71%, 68%)
CMYKcmyk(71.3%, 35.1%, 0%, 31.8%)
CIE-LABlab(46.37, 0.51, -38.35)
CIE-LCHlch(46.37, 38.35, 270.77°)
OKLaboklab(53.7% -0.0391 -0.1089)
OKLCHoklch(53.7% 0.116 250.2)
XYZxyz(14.8576, 15.5427, 42.2532)
Luminance0.1554 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3271AE #AE6F32
analogous
#32AEAD #3271AE #3233AE
triadic
#3271AE #AE3271 #71AE32
tetradic
#3271AE #AD32AE #AE6F32 #33AE32
square
#3271AE #AD32AE #AE6F32 #33AE32
split-complementary
#3271AE #AE3233 #AEAD32
monochromatic
#17334F #24527E #3271AE #5090CD #80AEDA

Accessibility & contrast

On white

5.11
#3271AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#3271AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3271AE
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3271AE#FFFFFF#000000##FFFFFF
##3271AE1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5674B1
Deuteranopia (green-blind)
#4469AD
Tritanopia (blue-blind)
#007F87
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #3271ae;
/* rgb */ color: rgb(50, 113, 174);
/* oklch */ color: oklch(53.7% 0.116 250.2);
Tailwind
colors: {
  custom: {
    50: '#7999c6',
    500: '#3271ae',
    950: '#000000',
  },
}
SCSS
$custom: #3271ae;
$custom-light: #7999c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3271ae",
  "rgb": {
    "r": 50,
    "g": 113,
    "b": 174
  },
  "hsl": {
    "h": 209.516,
    "s": 55.357,
    "l": 43.922
  },
  "oklch": {
    "l": 0.53698,
    "c": 0.11571,
    "h": 250.2
  },
  "luminance": 0.15544
}

Semantic roles & 50–950 ramp

primary
#3271AE
secondary
#C49D78
accent
#9349DF
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #3271AE

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

Preview Lab → · Contrast checker → · Palette generator →

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