#3271BB#3271BB

#3271BB is a mid, vivid cyan. Relative luminance 0.161; OKLCH L 54.5% C 0.133 H 254.4°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#3271BB
RGBrgb(50, 113, 187)
HSLhsl(212, 58%, 46%)
HSVhsv(212, 73%, 73%)
CMYKcmyk(73.3%, 39.6%, 0%, 26.7%)
CIE-LABlab(47.07, 5.29, -44.78)
CIE-LCHlch(47.07, 45.09, 276.73°)
OKLaboklab(54.48% -0.0358 -0.1277)
OKLCHoklch(54.48% 0.133 254.4)
XYZxyz(16.1868, 16.0744, 49.2537)
Luminance0.1608 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3271BB #BB7C32
analogous
#32B6BB #3271BB #3832BB
triadic
#3271BB #BB3271 #71BB32
tetradic
#3271BB #BB32B6 #BB7C32 #32BB38
square
#3271BB #BB32B6 #BB7C32 #32BB38
split-complementary
#3271BB #BB3832 #B6BB32
monochromatic
#18375A #25548B #3271BB #5890D2 #88B0DF

Accessibility & contrast

On white

4.98
#3271BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#3271BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3271BB
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3271BB#FFFFFF#000000##FFFFFF
##3271BB1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E76BE
Deuteranopia (green-blind)
#396ABA
Tritanopia (blue-blind)
#00828D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #3271bb;
/* rgb */ color: rgb(50, 113, 187);
/* oklch */ color: oklch(54.5% 0.133 254.4);
Tailwind
colors: {
  custom: {
    50: '#7b99d0',
    500: '#3271bb',
    950: '#000000',
  },
}
SCSS
$custom: #3271bb;
$custom-light: #7b99d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3271bb",
  "rgb": {
    "r": 50,
    "g": 113,
    "b": 187
  },
  "hsl": {
    "h": 212.409,
    "s": 57.806,
    "l": 46.471
  },
  "oklch": {
    "l": 0.54477,
    "c": 0.13266,
    "h": 254.4
  },
  "luminance": 0.16076
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3271BB

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

Preview Lab → · Contrast checker → · Palette generator →

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