#3B81D2#3B81D2

#3B81D2 is a mid, vivid cyan. Relative luminance 0.213; OKLCH L 59.8% C 0.143 H 254.0°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#3B81D2
RGBrgb(59, 129, 210)
HSLhsl(212, 63%, 53%)
HSVhsv(212, 72%, 82%)
CMYKcmyk(71.9%, 38.6%, 0%, 17.6%)
CIE-LABlab(53.26, 5.10, -48.08)
CIE-LCHlch(53.26, 48.35, 276.06°)
OKLaboklab(59.79% -0.0393 -0.137)
OKLCHoklch(59.79% 0.143 254)
XYZxyz(21.2824, 21.2811, 63.9463)
Luminance0.2128 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B81D2 #D28C3B
analogous
#3BCDD2 #3B81D2 #403BD2
triadic
#3B81D2 #D23B81 #81D23B
tetradic
#3B81D2 #D23BCD #D28C3B #3BD240
square
#3B81D2 #D23BCD #D28C3B #3BD240
split-complementary
#3B81D2 #D2403B #CDD23B
monochromatic
#1B4677 #2763A9 #3B81D2 #6DA1DD #9FC1E9

Accessibility & contrast

On white

3.99
#3B81D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#3B81D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3B81D2
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B81D2#FFFFFF#000000##000000
##3B81D21.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B87D5
Deuteranopia (green-blind)
#4479D0
Tritanopia (blue-blind)
#00949F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #3b81d2;
/* rgb */ color: rgb(59, 129, 210);
/* oklch */ color: oklch(59.8% 0.143 254.0);
Tailwind
colors: {
  custom: {
    50: '#83a5e0',
    500: '#3b81d2',
    950: '#000000',
  },
}
SCSS
$custom: #3b81d2;
$custom-light: #83a5e0;
$custom-dark: #000000;
JSON
{
  "hex": "#3b81d2",
  "rgb": {
    "r": 59,
    "g": 129,
    "b": 210
  },
  "hsl": {
    "h": 212.185,
    "s": 62.656,
    "l": 52.745
  },
  "oklch": {
    "l": 0.59794,
    "c": 0.14256,
    "h": 254
  },
  "luminance": 0.21283
}

Semantic roles & 50–950 ramp

primary
#3B81D2
secondary
#D5B794
accent
#9A42E6
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0C0F15
muted
#7D7F83

Preview Lab

Preview with #3B81D2

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

Preview Lab → · Contrast checker → · Palette generator →

#3B81D2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva