#3B81DA#3B81DA

#3B81DA is a mid, vivid cyan. Relative luminance 0.217; OKLCH L 60.3% C 0.153 H 255.8°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#3B81DA
RGBrgb(59, 129, 218)
HSLhsl(214, 68%, 54%)
HSVhsv(214, 73%, 85%)
CMYKcmyk(72.9%, 40.8%, 0%, 14.5%)
CIE-LABlab(53.70, 7.99, -51.89)
CIE-LCHlch(53.70, 52.50, 278.75°)
OKLaboklab(60.28% -0.0375 -0.1482)
OKLCHoklch(60.28% 0.153 255.8)
XYZxyz(22.3041, 21.6898, 69.3271)
Luminance0.2169 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B81DA #DA943B
analogous
#3BD0DA #3B81DA #453BDA
triadic
#3B81DA #DA3B81 #81DA3B
tetradic
#3B81DA #DA3BD0 #DA943B #3BDA45
square
#3B81DA #DA3BD0 #DA943B #3BDA45
split-complementary
#3B81DA #DA453B #D0DA3B
monochromatic
#194782 #2263B6 #3B81DA #6EA2E4 #A2C3ED

Accessibility & contrast

On white

3.93
#3B81DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#3B81DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3B81DA
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B81DA#FFFFFF#000000##000000
##3B81DA1.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5688DE
Deuteranopia (green-blind)
#3C7AD8
Tritanopia (blue-blind)
#0096A3
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #3b81da;
/* rgb */ color: rgb(59, 129, 218);
/* oklch */ color: oklch(60.3% 0.153 255.8);
Tailwind
colors: {
  custom: {
    50: '#85a5e6',
    500: '#3b81da',
    950: '#000000',
  },
}
SCSS
$custom: #3b81da;
$custom-light: #85a5e6;
$custom-dark: #000000;
JSON
{
  "hex": "#3b81da",
  "rgb": {
    "r": 59,
    "g": 129,
    "b": 218
  },
  "hsl": {
    "h": 213.585,
    "s": 68.24,
    "l": 54.314
  },
  "oklch": {
    "l": 0.6028,
    "c": 0.1529,
    "h": 255.8
  },
  "luminance": 0.21692
}

Semantic roles & 50–950 ramp

primary
#3B81DA
secondary
#DABC97
accent
#9E3DEB
background
#F8FAFE
surface
#F0F4FC
border
#CBCED5
text
#0C0F16
muted
#7D7F84

Preview Lab

Preview with #3B81DA

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

Preview Lab → · Contrast checker → · Palette generator →

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