#3271B9#3271B9

#3271B9 is a mid, vivid cyan. Relative luminance 0.160; OKLCH L 54.4% C 0.130 H 253.8°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#3271B9
RGBrgb(50, 113, 185)
HSLhsl(212, 57%, 46%)
HSVhsv(212, 73%, 73%)
CMYKcmyk(73%, 38.9%, 0%, 27.5%)
CIE-LABlab(46.96, 4.55, -43.80)
CIE-LCHlch(46.96, 44.04, 275.93°)
OKLaboklab(54.35% -0.0363 -0.1249)
OKLCHoklch(54.35% 0.13 253.8)
XYZxyz(15.9742, 15.9894, 48.1339)
Luminance0.1599 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3271B9 #B97A32
analogous
#32B4B9 #3271B9 #3632B9
triadic
#3271B9 #B93271 #71B932
tetradic
#3271B9 #B932B4 #B97A32 #32B936
square
#3271B9 #B932B4 #B97A32 #32B936
split-complementary
#3271B9 #B93632 #B4B932
monochromatic
#183659 #255489 #3271B9 #5790D2 #87B0DF

Accessibility & contrast

On white

5.00
#3271B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#3271B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3271B9#FFFFFF#000000##FFFFFF
##3271B91.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5076BC
Deuteranopia (green-blind)
#3B6AB8
Tritanopia (blue-blind)
#00828C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #3271b9;
/* rgb */ color: rgb(50, 113, 185);
/* oklch */ color: oklch(54.4% 0.130 253.8);
Tailwind
colors: {
  custom: {
    50: '#7b99ce',
    500: '#3271b9',
    950: '#000000',
  },
}
SCSS
$custom: #3271b9;
$custom-light: #7b99ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3271b9",
  "rgb": {
    "r": 50,
    "g": 113,
    "b": 185
  },
  "hsl": {
    "h": 212,
    "s": 57.447,
    "l": 46.078
  },
  "oklch": {
    "l": 0.54354,
    "c": 0.13003,
    "h": 253.8
  },
  "luminance": 0.15991
}

Semantic roles & 50–950 ramp

primary
#3271B9
secondary
#C8A67F
accent
#9947E1
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #3271B9

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

Preview Lab → · Contrast checker → · Palette generator →

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