#3271BA#3271BA

#3271BA is a mid, vivid cyan. Relative luminance 0.160; OKLCH L 54.4% C 0.131 H 254.1°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#3271BA
RGBrgb(50, 113, 186)
HSLhsl(212, 58%, 46%)
HSVhsv(212, 73%, 73%)
CMYKcmyk(73.1%, 39.2%, 0%, 27.1%)
CIE-LABlab(47.02, 4.92, -44.29)
CIE-LCHlch(47.02, 44.57, 276.33°)
OKLaboklab(54.42% -0.036 -0.1263)
OKLCHoklch(54.42% 0.131 254.1)
XYZxyz(16.0802, 16.0318, 48.6918)
Luminance0.1603 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3271BA #BA7B32
analogous
#32B5BA #3271BA #3732BA
triadic
#3271BA #BA3271 #71BA32
tetradic
#3271BA #BA32B5 #BA7B32 #32BA37
square
#3271BA #BA32B5 #BA7B32 #32BA37
split-complementary
#3271BA #BA3732 #B5BA32
monochromatic
#18365A #25548A #3271BA #5790D2 #88B0DF

Accessibility & contrast

On white

4.99
#3271BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#3271BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3271BA
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3271BA#FFFFFF#000000##FFFFFF
##3271BA1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F76BD
Deuteranopia (green-blind)
#3A6AB9
Tritanopia (blue-blind)
#00828C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #3271ba;
/* rgb */ color: rgb(50, 113, 186);
/* oklch */ color: oklch(54.4% 0.131 254.1);
Tailwind
colors: {
  custom: {
    50: '#7b99cf',
    500: '#3271ba',
    950: '#000000',
  },
}
SCSS
$custom: #3271ba;
$custom-light: #7b99cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3271ba",
  "rgb": {
    "r": 50,
    "g": 113,
    "b": 186
  },
  "hsl": {
    "h": 212.206,
    "s": 57.627,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54415,
    "c": 0.13135,
    "h": 254.1
  },
  "luminance": 0.16034
}

Semantic roles & 50–950 ramp

primary
#3271BA
secondary
#C9A77F
accent
#9A47E1
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #3271BA

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

Preview Lab → · Contrast checker → · Palette generator →

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