#3281B2#3281B2

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

Color values

HEX#3281B2
RGBrgb(50, 129, 178)
HSLhsl(203, 56%, 45%)
HSVhsv(203, 72%, 70%)
CMYKcmyk(71.9%, 27.5%, 0%, 30.2%)
CIE-LABlab(51.37, -7.59, -32.80)
CIE-LCHlch(51.37, 33.67, 256.97°)
OKLaboklab(57.71% -0.0538 -0.0926)
OKLCHoklch(57.71% 0.107 239.8)
XYZxyz(17.1984, 19.5910, 44.9859)
Luminance0.1959 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3281B2 #B26332
analogous
#32B2A3 #3281B2 #3241B2
triadic
#3281B2 #B23281 #81B232
tetradic
#3281B2 #A332B2 #B26332 #41B232
square
#3281B2 #A332B2 #B26332 #41B232
split-complementary
#3281B2 #B23241 #B2A332
monochromatic
#173C52 #255E82 #3281B2 #539FCF #82BADC

Accessibility & contrast

On white

4.27
#3281B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#3281B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3281B2
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3281B2#FFFFFF#000000##000000
##3281B21.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3281b2;
/* rgb */ color: rgb(50, 129, 178);
/* oklch */ color: oklch(57.7% 0.107 239.8);
Tailwind
colors: {
  custom: {
    50: '#7aa5c9',
    500: '#3281b2',
    950: '#000000',
  },
}
SCSS
$custom: #3281b2;
$custom-light: #7aa5c9;
$custom-dark: #000000;
JSON
{
  "hex": "#3281b2",
  "rgb": {
    "r": 50,
    "g": 129,
    "b": 178
  },
  "hsl": {
    "h": 202.969,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.57709,
    "c": 0.10708,
    "h": 239.8
  },
  "luminance": 0.19593
}

Semantic roles & 50–950 ramp

primary
#3281B2
secondary
#C5977B
accent
#8248DF
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #3281B2

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

Preview Lab → · Contrast checker → · Palette generator →

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