#3281B4#3281B4

#3281B4 is a mid, moderate cyan. Relative luminance 0.197; OKLCH L 57.8% C 0.109 H 240.9°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#3281B4
RGBrgb(50, 129, 180)
HSLhsl(204, 57%, 45%)
HSVhsv(204, 72%, 71%)
CMYKcmyk(72.2%, 28.3%, 0%, 29.4%)
CIE-LABlab(51.46, -6.89, -33.81)
CIE-LCHlch(51.46, 34.50, 258.49°)
OKLaboklab(57.81% -0.0532 -0.0955)
OKLCHoklch(57.81% 0.109 240.9)
XYZxyz(17.4007, 19.6720, 46.0512)
Luminance0.1967 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3281B4 #B46532
analogous
#32B4A6 #3281B4 #3240B4
triadic
#3281B4 #B43281 #81B432
tetradic
#3281B4 #A632B4 #B46532 #40B432
square
#3281B4 #A632B4 #B46532 #40B432
split-complementary
#3281B4 #B43240 #B4A632
monochromatic
#173C54 #255F84 #3281B4 #549FCF #84BADD

Accessibility & contrast

On white

4.26
#3281B4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#3281B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3281B4
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3281B4#FFFFFF#000000##000000
##3281B41.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6982B6
Deuteranopia (green-blind)
#5875B3
Tritanopia (blue-blind)
#008E93
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #3281b4;
/* rgb */ color: rgb(50, 129, 180);
/* oklch */ color: oklch(57.8% 0.109 240.9);
Tailwind
colors: {
  custom: {
    50: '#7aa5ca',
    500: '#3281b4',
    950: '#000000',
  },
}
SCSS
$custom: #3281b4;
$custom-light: #7aa5ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3281b4",
  "rgb": {
    "r": 50,
    "g": 129,
    "b": 180
  },
  "hsl": {
    "h": 203.538,
    "s": 56.522,
    "l": 45.098
  },
  "oklch": {
    "l": 0.57812,
    "c": 0.1093,
    "h": 240.9
  },
  "luminance": 0.19674
}

Semantic roles & 50–950 ramp

primary
#3281B4
secondary
#C6997C
accent
#8448E0
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #3281B4

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

Preview Lab → · Contrast checker → · Palette generator →

#3281B4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva