#3271AF#3271AF

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

Color values

HEX#3271AF
RGBrgb(50, 113, 175)
HSLhsl(210, 56%, 44%)
HSVhsv(210, 71%, 69%)
CMYKcmyk(71.4%, 35.4%, 0%, 31.4%)
CIE-LABlab(46.42, 0.88, -38.85)
CIE-LCHlch(46.42, 38.86, 271.29°)
OKLaboklab(53.76% -0.0388 -0.1104)
OKLCHoklch(53.76% 0.117 250.6)
XYZxyz(14.9555, 15.5819, 42.7685)
Luminance0.1558 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3271AF #AF7032
analogous
#32AFAF #3271AF #3232AF
triadic
#3271AF #AF3271 #71AF32
tetradic
#3271AF #AF32AF #AF7032 #32AF32
square
#3271AF #AF32AF #AF7032 #32AF32
split-complementary
#3271AF #AF3232 #AFAF32
monochromatic
#173450 #24527F #3271AF #5190CD #81AEDB

Accessibility & contrast

On white

5.10
#3271AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3271AF
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3271AF#FFFFFF#000000##FFFFFF
##3271AF1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5574B2
Deuteranopia (green-blind)
#4369AE
Tritanopia (blue-blind)
#008088
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #3271af;
/* rgb */ color: rgb(50, 113, 175);
/* oklch */ color: oklch(53.8% 0.117 250.6);
Tailwind
colors: {
  custom: {
    50: '#7999c7',
    500: '#3271af',
    950: '#000000',
  },
}
SCSS
$custom: #3271af;
$custom-light: #7999c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3271af",
  "rgb": {
    "r": 50,
    "g": 113,
    "b": 175
  },
  "hsl": {
    "h": 209.76,
    "s": 55.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53756,
    "c": 0.117,
    "h": 250.6
  },
  "luminance": 0.15584
}

Semantic roles & 50–950 ramp

primary
#3271AF
secondary
#C49E79
accent
#9349DF
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #3271AF

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

Preview Lab → · Contrast checker → · Palette generator →

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