#3271BF#3271BF

#3271BF is a mid, vivid cyan. Relative luminance 0.163; OKLCH L 54.7% C 0.138 H 255.4°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#3271BF
RGBrgb(50, 113, 191)
HSLhsl(213, 59%, 47%)
HSVhsv(213, 74%, 75%)
CMYKcmyk(73.8%, 40.8%, 0%, 25.1%)
CIE-LABlab(47.30, 6.77, -46.73)
CIE-LCHlch(47.30, 47.22, 278.24°)
OKLaboklab(54.73% -0.0349 -0.1335)
OKLCHoklch(54.73% 0.138 255.4)
XYZxyz(16.6210, 16.2481, 51.5403)
Luminance0.1625 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3271BF #BF8032
analogous
#32B8BF #3271BF #3932BF
triadic
#3271BF #BF3271 #71BF32
tetradic
#3271BF #BF32B8 #BF8032 #32BF39
square
#3271BF #BF32B8 #BF8032 #32BF39
split-complementary
#3271BF #BF3932 #B8BF32
monochromatic
#19385E #25548E #3271BF #5A91D4 #8BB1E1

Accessibility & contrast

On white

4.94
#3271BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#3271BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3271BF
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3271BF#FFFFFF#000000##FFFFFF
##3271BF1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C77C2
Deuteranopia (green-blind)
#356ABD
Tritanopia (blue-blind)
#00838F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #3271bf;
/* rgb */ color: rgb(50, 113, 191);
/* oklch */ color: oklch(54.7% 0.138 255.4);
Tailwind
colors: {
  custom: {
    50: '#7c99d3',
    500: '#3271bf',
    950: '#000000',
  },
}
SCSS
$custom: #3271bf;
$custom-light: #7c99d3;
$custom-dark: #000000;
JSON
{
  "hex": "#3271bf",
  "rgb": {
    "r": 50,
    "g": 113,
    "b": 191
  },
  "hsl": {
    "h": 213.191,
    "s": 58.506,
    "l": 47.255
  },
  "oklch": {
    "l": 0.54727,
    "c": 0.13795,
    "h": 255.4
  },
  "luminance": 0.1625
}

Semantic roles & 50–950 ramp

primary
#3271BF
secondary
#CBAA82
accent
#9C46E2
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #3271BF

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

Preview Lab → · Contrast checker → · Palette generator →

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