#3281B1#3281B1

#3281B1 is a mid, moderate cyan. Relative luminance 0.196; OKLCH L 57.7% C 0.106 H 239.3°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#3281B1
RGBrgb(50, 129, 177)
HSLhsl(203, 56%, 45%)
HSVhsv(203, 72%, 69%)
CMYKcmyk(71.8%, 27.1%, 0%, 30.6%)
CIE-LABlab(51.33, -7.94, -32.30)
CIE-LCHlch(51.33, 33.26, 256.19°)
OKLaboklab(57.66% -0.0542 -0.0911)
OKLCHoklch(57.66% 0.106 239.3)
XYZxyz(17.0984, 19.5510, 44.4590)
Luminance0.1955 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3281B1 #B16232
analogous
#32B1A2 #3281B1 #3242B1
triadic
#3281B1 #B13281 #81B132
tetradic
#3281B1 #A232B1 #B16232 #42B132
square
#3281B1 #A232B1 #B16232 #42B132
split-complementary
#3281B1 #B13242 #B1A232
monochromatic
#173B52 #255E81 #3281B1 #529FCE #82BADC

Accessibility & contrast

On white

4.28
#3281B1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#3281B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3281B1
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3281B1#FFFFFF#000000##000000
##3281B11.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B81B3
Deuteranopia (green-blind)
#5975B0
Tritanopia (blue-blind)
#008D92
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #3281b1;
/* rgb */ color: rgb(50, 129, 177);
/* oklch */ color: oklch(57.7% 0.106 239.3);
Tailwind
colors: {
  custom: {
    50: '#7aa5c8',
    500: '#3281b1',
    950: '#000000',
  },
}
SCSS
$custom: #3281b1;
$custom-light: #7aa5c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3281b1",
  "rgb": {
    "r": 50,
    "g": 129,
    "b": 177
  },
  "hsl": {
    "h": 202.677,
    "s": 55.947,
    "l": 44.51
  },
  "oklch": {
    "l": 0.57657,
    "c": 0.10599,
    "h": 239.3
  },
  "luminance": 0.19553
}

Semantic roles & 50–950 ramp

primary
#3281B1
secondary
#C5967A
accent
#8249DF
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #3281B1

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

Preview Lab → · Contrast checker → · Palette generator →

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