#3271BE#3271BE

#3271BE is a mid, vivid cyan. Relative luminance 0.162; OKLCH L 54.7% C 0.137 H 255.1°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#3271BE
RGBrgb(50, 113, 190)
HSLhsl(213, 58%, 47%)
HSVhsv(213, 74%, 75%)
CMYKcmyk(73.7%, 40.5%, 0%, 25.5%)
CIE-LABlab(47.24, 6.40, -46.25)
CIE-LCHlch(47.24, 46.69, 277.87°)
OKLaboklab(54.66% -0.0351 -0.132)
OKLCHoklch(54.66% 0.137 255.1)
XYZxyz(16.5114, 16.2042, 50.9627)
Luminance0.1621 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3271BE #BE7F32
analogous
#32B7BE #3271BE #3932BE
triadic
#3271BE #BE3271 #71BE32
tetradic
#3271BE #BE32B7 #BE7F32 #32BE39
square
#3271BE #BE32B7 #BE7F32 #32BE39
split-complementary
#3271BE #BE3932 #B7BE32
monochromatic
#19375D #25548E #3271BE #5A91D3 #8AB1E0

Accessibility & contrast

On white

4.95
#3271BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#3271BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3271BE
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3271BE#FFFFFF#000000##FFFFFF
##3271BE1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C77C1
Deuteranopia (green-blind)
#366ABC
Tritanopia (blue-blind)
#00838E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #3271be;
/* rgb */ color: rgb(50, 113, 190);
/* oklch */ color: oklch(54.7% 0.137 255.1);
Tailwind
colors: {
  custom: {
    50: '#7c99d2',
    500: '#3271be',
    950: '#000000',
  },
}
SCSS
$custom: #3271be;
$custom-light: #7c99d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3271be",
  "rgb": {
    "r": 50,
    "g": 113,
    "b": 190
  },
  "hsl": {
    "h": 213,
    "s": 58.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.54664,
    "c": 0.13662,
    "h": 255.1
  },
  "luminance": 0.16206
}

Semantic roles & 50–950 ramp

primary
#3271BE
secondary
#CAAA82
accent
#9C46E2
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #3271BE

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

Preview Lab → · Contrast checker → · Palette generator →

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