#3271B0#3271B0

#3271B0 is a mid, moderate cyan. Relative luminance 0.156; OKLCH L 53.8% C 0.118 H 251.0°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#3271B0
RGBrgb(50, 113, 176)
HSLhsl(210, 56%, 44%)
HSVhsv(210, 72%, 69%)
CMYKcmyk(71.6%, 35.8%, 0%, 31%)
CIE-LABlab(46.47, 1.24, -39.35)
CIE-LCHlch(46.47, 39.37, 271.81°)
OKLaboklab(53.81% -0.0386 -0.1118)
OKLCHoklch(53.81% 0.118 251)
XYZxyz(15.0541, 15.6213, 43.2877)
Luminance0.1562 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3271B0 #B07132
analogous
#32B0B0 #3271B0 #3232B0
triadic
#3271B0 #B03271 #71B032
tetradic
#3271B0 #B032B0 #B07132 #32B032
square
#3271B0 #B032B0 #B07132 #32B032
split-complementary
#3271B0 #B03232 #B0B032
monochromatic
#173451 #245280 #3271B0 #5190CE #81AEDB

Accessibility & contrast

On white

5.09
#3271B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#3271B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3271B0
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3271B0#FFFFFF#000000##FFFFFF
##3271B01.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5475B3
Deuteranopia (green-blind)
#4269AF
Tritanopia (blue-blind)
#008088
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #3271b0;
/* rgb */ color: rgb(50, 113, 176);
/* oklch */ color: oklch(53.8% 0.118 251.0);
Tailwind
colors: {
  custom: {
    50: '#7999c8',
    500: '#3271b0',
    950: '#000000',
  },
}
SCSS
$custom: #3271b0;
$custom-light: #7999c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3271b0",
  "rgb": {
    "r": 50,
    "g": 113,
    "b": 176
  },
  "hsl": {
    "h": 210,
    "s": 55.752,
    "l": 44.314
  },
  "oklch": {
    "l": 0.53814,
    "c": 0.11828,
    "h": 251
  },
  "luminance": 0.15623
}

Semantic roles & 50–950 ramp

primary
#3271B0
secondary
#C49F79
accent
#9449DF
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #3271B0

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

Preview Lab → · Contrast checker → · Palette generator →

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