#3B81CF#3B81CF

#3B81CF is a mid, vivid cyan. Relative luminance 0.211; OKLCH L 59.6% C 0.139 H 253.2°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#3B81CF
RGBrgb(59, 129, 207)
HSLhsl(212, 61%, 52%)
HSVhsv(212, 71%, 81%)
CMYKcmyk(71.5%, 37.7%, 0%, 18.8%)
CIE-LABlab(53.09, 4.03, -46.64)
CIE-LCHlch(53.09, 46.81, 274.94°)
OKLaboklab(59.62% -0.04 -0.1328)
OKLCHoklch(59.62% 0.139 253.2)
XYZxyz(20.9122, 21.1330, 61.9963)
Luminance0.2114 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B81CF #CF893B
analogous
#3BCBCF #3B81CF #3F3BCF
triadic
#3B81CF #CF3B81 #81CF3B
tetradic
#3B81CF #CF3BCB #CF893B #3BCF3F
square
#3B81CF #CF3BCB #CF893B #3BCF3F
split-complementary
#3B81CF #CF3F3B #CBCF3B
monochromatic
#1C4573 #2863A5 #3B81CF #6CA1DB #9DC0E7

Accessibility & contrast

On white

4.02
#3B81CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#3B81CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3B81CF
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B81CF#FFFFFF#000000##000000
##3B81CF1.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D86D2
Deuteranopia (green-blind)
#4778CD
Tritanopia (blue-blind)
#00939E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #3b81cf;
/* rgb */ color: rgb(59, 129, 207);
/* oklch */ color: oklch(59.6% 0.139 253.2);
Tailwind
colors: {
  custom: {
    50: '#83a5de',
    500: '#3b81cf',
    950: '#000000',
  },
}
SCSS
$custom: #3b81cf;
$custom-light: #83a5de;
$custom-dark: #000000;
JSON
{
  "hex": "#3b81cf",
  "rgb": {
    "r": 59,
    "g": 129,
    "b": 207
  },
  "hsl": {
    "h": 211.622,
    "s": 60.656,
    "l": 52.157
  },
  "oklch": {
    "l": 0.59616,
    "c": 0.13871,
    "h": 253.2
  },
  "luminance": 0.21135
}

Semantic roles & 50–950 ramp

primary
#3B81CF
secondary
#D3B593
accent
#9844E4
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0C0F15
muted
#7D7F83

Preview Lab

Preview with #3B81CF

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

Preview Lab → · Contrast checker → · Palette generator →

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