#3B81CC#3B81CC

#3B81CC is a mid, vivid cyan. Relative luminance 0.210; OKLCH L 59.4% C 0.135 H 252.4°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#3B81CC
RGBrgb(59, 129, 204)
HSLhsl(211, 59%, 52%)
HSVhsv(211, 71%, 80%)
CMYKcmyk(71.1%, 36.8%, 0%, 20%)
CIE-LABlab(52.94, 2.95, -45.19)
CIE-LCHlch(52.94, 45.29, 273.74°)
OKLaboklab(59.44% -0.0407 -0.1286)
OKLCHoklch(59.44% 0.135 252.4)
XYZxyz(20.5489, 20.9877, 60.0831)
Luminance0.2099 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B81CC #CC863B
analogous
#3BCACC #3B81CC #3E3BCC
triadic
#3B81CC #CC3B81 #81CC3B
tetradic
#3B81CC #CC3BCA #CC863B #3BCC3E
square
#3B81CC #CC3BCA #CC863B #3BCC3E
split-complementary
#3B81CC #CC3E3B #CACC3B
monochromatic
#1D4570 #2A63A0 #3B81CC #6CA0D9 #9CBFE5

Accessibility & contrast

On white

4.04
#3B81CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#3B81CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3B81CC
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B81CC#FFFFFF#000000##000000
##3B81CC1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F86CF
Deuteranopia (green-blind)
#4978CB
Tritanopia (blue-blind)
#00939D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #3b81cc;
/* rgb */ color: rgb(59, 129, 204);
/* oklch */ color: oklch(59.4% 0.135 252.4);
Tailwind
colors: {
  custom: {
    50: '#82a5dc',
    500: '#3b81cc',
    950: '#000000',
  },
}
SCSS
$custom: #3b81cc;
$custom-light: #82a5dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3b81cc",
  "rgb": {
    "r": 59,
    "g": 129,
    "b": 204
  },
  "hsl": {
    "h": 211.034,
    "s": 58.704,
    "l": 51.569
  },
  "oklch": {
    "l": 0.5944,
    "c": 0.13487,
    "h": 252.4
  },
  "luminance": 0.2099
}

Semantic roles & 50–950 ramp

primary
#3B81CC
secondary
#D1B392
accent
#9746E2
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0C0F15
muted
#7D7F83

Preview Lab

Preview with #3B81CC

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

Preview Lab → · Contrast checker → · Palette generator →

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