#3271A9#3271A9

#3271A9 is a mid, moderate cyan. Relative luminance 0.154; OKLCH L 53.4% C 0.109 H 248.2°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#3271A9
RGBrgb(50, 113, 169)
HSLhsl(208, 54%, 43%)
HSVhsv(208, 70%, 66%)
CMYKcmyk(70.4%, 33.1%, 0%, 33.7%)
CIE-LABlab(46.11, -1.30, -35.83)
CIE-LCHlch(46.11, 35.86, 267.92°)
OKLaboklab(53.41% -0.0405 -0.1015)
OKLCHoklch(53.41% 0.109 248.2)
XYZxyz(14.3793, 15.3514, 39.7337)
Luminance0.1535 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3271A9 #A96A32
analogous
#32A9A5 #3271A9 #3236A9
triadic
#3271A9 #A93271 #71A932
tetradic
#3271A9 #A532A9 #A96A32 #36A932
square
#3271A9 #A532A9 #A96A32 #36A932
split-complementary
#3271A9 #A93236 #A9A532
monochromatic
#16324B #24517A #3271A9 #4E90CB #7DADD9

Accessibility & contrast

On white

5.16
#3271A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#3271A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3271A9#FFFFFF#000000##FFFFFF
##3271A91.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5873AB
Deuteranopia (green-blind)
#4768A8
Tritanopia (blue-blind)
#007E85
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #3271a9;
/* rgb */ color: rgb(50, 113, 169);
/* oklch */ color: oklch(53.4% 0.109 248.2);
Tailwind
colors: {
  custom: {
    50: '#7899c3',
    500: '#3271a9',
    950: '#000000',
  },
}
SCSS
$custom: #3271a9;
$custom-light: #7899c3;
$custom-dark: #000000;
JSON
{
  "hex": "#3271a9",
  "rgb": {
    "r": 50,
    "g": 113,
    "b": 169
  },
  "hsl": {
    "h": 208.235,
    "s": 54.338,
    "l": 42.941
  },
  "oklch": {
    "l": 0.53412,
    "c": 0.10934,
    "h": 248.2
  },
  "luminance": 0.15353
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3271A9

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

Preview Lab → · Contrast checker → · Palette generator →

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