#3271B3#3271B3

#3271B3 is a mid, vivid cyan. Relative luminance 0.157; OKLCH L 54.0% C 0.122 H 252.0°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#3271B3
RGBrgb(50, 113, 179)
HSLhsl(211, 56%, 45%)
HSVhsv(211, 72%, 70%)
CMYKcmyk(72.1%, 36.9%, 0%, 29.8%)
CIE-LABlab(46.63, 2.34, -40.84)
CIE-LCHlch(46.63, 40.91, 273.28°)
OKLaboklab(53.99% -0.0378 -0.1162)
OKLCHoklch(53.99% 0.122 252)
XYZxyz(15.3542, 15.7414, 44.8683)
Luminance0.1574 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3271B3 #B37432
analogous
#32B1B3 #3271B3 #3432B3
triadic
#3271B3 #B33271 #71B332
tetradic
#3271B3 #B332B1 #B37432 #32B334
square
#3271B3 #B332B1 #B37432 #32B334
split-complementary
#3271B3 #B33432 #B1B332
monochromatic
#173553 #255383 #3271B3 #5390CF #83AFDC

Accessibility & contrast

On white

5.06
#3271B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#3271B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3271B3
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3271B3#FFFFFF#000000##FFFFFF
##3271B31.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5375B6
Deuteranopia (green-blind)
#4069B2
Tritanopia (blue-blind)
#008189
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #3271b3;
/* rgb */ color: rgb(50, 113, 179);
/* oklch */ color: oklch(54.0% 0.122 252.0);
Tailwind
colors: {
  custom: {
    50: '#7a99ca',
    500: '#3271b3',
    950: '#000000',
  },
}
SCSS
$custom: #3271b3;
$custom-light: #7a99ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3271b3",
  "rgb": {
    "r": 50,
    "g": 113,
    "b": 179
  },
  "hsl": {
    "h": 210.698,
    "s": 56.332,
    "l": 44.902
  },
  "oklch": {
    "l": 0.53992,
    "c": 0.12217,
    "h": 252
  },
  "luminance": 0.15743
}

Semantic roles & 50–950 ramp

primary
#3271B3
secondary
#C6A17B
accent
#9648E0
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #3271B3

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

Preview Lab → · Contrast checker → · Palette generator →

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