#3B81DF#3B81DF

#3B81DF is a mid, vivid cyan. Relative luminance 0.220; OKLCH L 60.6% C 0.159 H 256.8°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#3B81DF
RGBrgb(59, 129, 223)
HSLhsl(214, 72%, 55%)
HSVhsv(214, 74%, 87%)
CMYKcmyk(73.5%, 42.2%, 0%, 12.5%)
CIE-LABlab(53.98, 9.80, -54.25)
CIE-LCHlch(53.98, 55.13, 280.24°)
OKLaboklab(60.59% -0.0364 -0.1552)
OKLCHoklch(60.59% 0.159 256.8)
XYZxyz(22.9683, 21.9555, 72.8251)
Luminance0.2196 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B81DF #DF993B
analogous
#3BD3DF #3B81DF #473BDF
triadic
#3B81DF #DF3B81 #81DF3B
tetradic
#3B81DF #DF3BD3 #DF993B #3BDF47
square
#3B81DF #DF3BD3 #DF993B #3BDF47
split-complementary
#3B81DF #DF473B #D3DF3B
monochromatic
#164789 #1F63BE #3B81DF #70A3E8 #A4C5F0

Accessibility & contrast

On white

3.89
#3B81DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#3B81DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3B81DF
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B81DF#FFFFFF#000000##000000
##3B81DF1.003.895.395.39
#FFFFFF3.891.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5389E3
Deuteranopia (green-blind)
#367ADD
Tritanopia (blue-blind)
#0097A5
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #3b81df;
/* rgb */ color: rgb(59, 129, 223);
/* oklch */ color: oklch(60.6% 0.159 256.8);
Tailwind
colors: {
  custom: {
    50: '#86a5e9',
    500: '#3b81df',
    950: '#000000',
  },
}
SCSS
$custom: #3b81df;
$custom-light: #86a5e9;
$custom-dark: #000000;
JSON
{
  "hex": "#3b81df",
  "rgb": {
    "r": 59,
    "g": 129,
    "b": 223
  },
  "hsl": {
    "h": 214.39,
    "s": 71.93,
    "l": 55.294
  },
  "oklch": {
    "l": 0.60592,
    "c": 0.15938,
    "h": 256.8
  },
  "luminance": 0.21958
}

Semantic roles & 50–950 ramp

primary
#3B81DF
secondary
#DDC099
accent
#A139EF
background
#F8FAFE
surface
#F0F4FD
border
#CBCED5
text
#0D0F16
muted
#7D7F84

Preview Lab

Preview with #3B81DF

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

Preview Lab → · Contrast checker → · Palette generator →

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