#3B81D6#3B81D6

#3B81D6 is a mid, vivid cyan. Relative luminance 0.215; OKLCH L 60.0% C 0.148 H 254.9°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#3B81D6
RGBrgb(59, 129, 214)
HSLhsl(213, 65%, 54%)
HSVhsv(213, 72%, 84%)
CMYKcmyk(72.4%, 39.7%, 0%, 16.1%)
CIE-LABlab(53.47, 6.54, -49.99)
CIE-LCHlch(53.47, 50.42, 277.46°)
OKLaboklab(60.04% -0.0384 -0.1426)
OKLCHoklch(60.04% 0.148 254.9)
XYZxyz(21.7870, 21.4829, 66.6037)
Luminance0.2149 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B81D6 #D6903B
analogous
#3BCFD6 #3B81D6 #423BD6
triadic
#3B81D6 #D63B81 #81D63B
tetradic
#3B81D6 #D63BCF #D6903B #3BD642
square
#3B81D6 #D63BCF #D6903B #3BD642
split-complementary
#3B81D6 #D6423B #CFD63B
monochromatic
#1A477D #2563AF #3B81D6 #6EA2E1 #A0C2EB

Accessibility & contrast

On white

3.96
#3B81D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#3B81D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3B81D6
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B81D6#FFFFFF#000000##000000
##3B81D61.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5988D9
Deuteranopia (green-blind)
#4079D4
Tritanopia (blue-blind)
#0095A1
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #3b81d6;
/* rgb */ color: rgb(59, 129, 214);
/* oklch */ color: oklch(60.0% 0.148 254.9);
Tailwind
colors: {
  custom: {
    50: '#84a5e3',
    500: '#3b81d6',
    950: '#000000',
  },
}
SCSS
$custom: #3b81d6;
$custom-light: #84a5e3;
$custom-dark: #000000;
JSON
{
  "hex": "#3b81d6",
  "rgb": {
    "r": 59,
    "g": 129,
    "b": 214
  },
  "hsl": {
    "h": 212.903,
    "s": 65.401,
    "l": 53.529
  },
  "oklch": {
    "l": 0.60035,
    "c": 0.14772,
    "h": 254.9
  },
  "luminance": 0.21485
}

Semantic roles & 50–950 ramp

primary
#3B81D6
secondary
#D8BA95
accent
#9C3FE8
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0C0F15
muted
#7D7F83

Preview Lab

Preview with #3B81D6

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

Preview Lab → · Contrast checker → · Palette generator →

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