#3271AA#3271AA

#3271AA is a mid, moderate cyan. Relative luminance 0.154; OKLCH L 53.5% C 0.111 H 248.7°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#3271AA
RGBrgb(50, 113, 170)
HSLhsl(209, 55%, 43%)
HSVhsv(209, 71%, 67%)
CMYKcmyk(70.6%, 33.5%, 0%, 33.3%)
CIE-LABlab(46.16, -0.94, -36.34)
CIE-LCHlch(46.16, 36.35, 268.52°)
OKLaboklab(53.47% -0.0402 -0.103)
OKLCHoklch(53.47% 0.111 248.7)
XYZxyz(14.4735, 15.3891, 40.2300)
Luminance0.1539 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3271AA #AA6B32
analogous
#32AAA7 #3271AA #3235AA
triadic
#3271AA #AA3271 #71AA32
tetradic
#3271AA #A732AA #AA6B32 #35AA32
square
#3271AA #A732AA #AA6B32 #35AA32
split-complementary
#3271AA #AA3235 #AAA732
monochromatic
#16324B #24527B #3271AA #4E90CB #7DADD9

Accessibility & contrast

On white

5.15
#3271AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#3271AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3271AA#FFFFFF#000000##FFFFFF
##3271AA1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5774AC
Deuteranopia (green-blind)
#4768A9
Tritanopia (blue-blind)
#007F86
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #3271aa;
/* rgb */ color: rgb(50, 113, 170);
/* oklch */ color: oklch(53.5% 0.111 248.7);
Tailwind
colors: {
  custom: {
    50: '#7899c3',
    500: '#3271aa',
    950: '#000000',
  },
}
SCSS
$custom: #3271aa;
$custom-light: #7899c3;
$custom-dark: #000000;
JSON
{
  "hex": "#3271aa",
  "rgb": {
    "r": 50,
    "g": 113,
    "b": 170
  },
  "hsl": {
    "h": 208.5,
    "s": 54.545,
    "l": 43.137
  },
  "oklch": {
    "l": 0.53469,
    "c": 0.11061,
    "h": 248.7
  },
  "luminance": 0.15391
}

Semantic roles & 50–950 ramp

primary
#3271AA
secondary
#C29A76
accent
#904ADE
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #3271AA

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

Preview Lab → · Contrast checker → · Palette generator →

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