#3271DA#3271DA

#3271DA is a mid, vivid blue. Relative luminance 0.175; OKLCH L 56.5% C 0.174 H 260.1°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#3271DA
RGBrgb(50, 113, 218)
HSLhsl(218, 69%, 53%)
HSVhsv(218, 77%, 85%)
CMYKcmyk(77.1%, 48.2%, 0%, 14.5%)
CIE-LABlab(48.94, 16.83, -59.53)
CIE-LCHlch(48.94, 61.86, 285.78°)
OKLaboklab(56.53% -0.0299 -0.1711)
OKLCHoklch(56.53% 0.174 260.1)
XYZxyz(19.8708, 17.5480, 68.6559)
Luminance0.1755 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3271DA #DA9B32
analogous
#32C5DA #3271DA #4732DA
triadic
#3271DA #DA3271 #71DA32
tetradic
#3271DA #DA32C5 #DA9B32 #32DA47
square
#3271DA #DA32C5 #DA9B32 #32DA47
split-complementary
#3271DA #DA4732 #C5DA32
monochromatic
#163C7B #2055AF #3271DA #6695E3 #9AB9ED

Accessibility & contrast

On white

4.66
#3271DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#3271DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3271DA#FFFFFF#000000##FFFFFF
##3271DA1.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#357CDE
Deuteranopia (green-blind)
#006DD8
Tritanopia (blue-blind)
#008A9B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #3271da;
/* rgb */ color: rgb(50, 113, 218);
/* oklch */ color: oklch(56.5% 0.174 260.1);
Tailwind
colors: {
  custom: {
    50: '#8299e6',
    500: '#3271da',
    950: '#000000',
  },
}
SCSS
$custom: #3271da;
$custom-light: #8299e6;
$custom-dark: #000000;
JSON
{
  "hex": "#3271da",
  "rgb": {
    "r": 50,
    "g": 113,
    "b": 218
  },
  "hsl": {
    "h": 217.5,
    "s": 69.421,
    "l": 52.549
  },
  "oklch": {
    "l": 0.56527,
    "c": 0.17369,
    "h": 260.1
  },
  "luminance": 0.1755
}

Semantic roles & 50–950 ramp

primary
#3271DA
secondary
#D8BD8F
accent
#AA3CEC
background
#F8F9FE
surface
#F0F2FC
border
#CBCCD5
text
#0C0D16
muted
#7D7E84

Preview Lab

Preview with #3271DA

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

Preview Lab → · Contrast checker → · Palette generator →

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