#3271B8#3271B8

#3271B8 is a mid, vivid cyan. Relative luminance 0.159; OKLCH L 54.3% C 0.129 H 253.5°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#3271B8
RGBrgb(50, 113, 184)
HSLhsl(212, 57%, 46%)
HSVhsv(212, 73%, 72%)
CMYKcmyk(72.8%, 38.6%, 0%, 27.8%)
CIE-LABlab(46.91, 4.18, -43.31)
CIE-LCHlch(46.91, 43.51, 275.51°)
OKLaboklab(54.29% -0.0365 -0.1234)
OKLCHoklch(54.29% 0.129 253.5)
XYZxyz(15.8690, 15.9473, 47.5799)
Luminance0.1595 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3271B8 #B87932
analogous
#32B4B8 #3271B8 #3632B8
triadic
#3271B8 #B83271 #71B832
tetradic
#3271B8 #B832B4 #B87932 #32B836
square
#3271B8 #B832B4 #B87932 #32B836
split-complementary
#3271B8 #B83632 #B4B832
monochromatic
#183658 #255388 #3271B8 #5690D1 #86B0DE

Accessibility & contrast

On white

5.01
#3271B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#3271B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3271B8
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3271B8#FFFFFF#000000##FFFFFF
##3271B81.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5076BB
Deuteranopia (green-blind)
#3C6AB7
Tritanopia (blue-blind)
#00828B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #3271b8;
/* rgb */ color: rgb(50, 113, 184);
/* oklch */ color: oklch(54.3% 0.129 253.5);
Tailwind
colors: {
  custom: {
    50: '#7b99ce',
    500: '#3271b8',
    950: '#000000',
  },
}
SCSS
$custom: #3271b8;
$custom-light: #7b99ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3271b8",
  "rgb": {
    "r": 50,
    "g": 113,
    "b": 184
  },
  "hsl": {
    "h": 211.791,
    "s": 57.265,
    "l": 45.882
  },
  "oklch": {
    "l": 0.54293,
    "c": 0.12871,
    "h": 253.5
  },
  "luminance": 0.15949
}

Semantic roles & 50–950 ramp

primary
#3271B8
secondary
#C8A57E
accent
#9847E1
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0D13
muted
#7C7E82

Preview Lab

Preview with #3271B8

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

Preview Lab → · Contrast checker → · Palette generator →

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