#3B81CB#3B81CB

#3B81CB is a mid, vivid cyan. Relative luminance 0.209; OKLCH L 59.4% C 0.134 H 252.1°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#3B81CB
RGBrgb(59, 129, 203)
HSLhsl(211, 58%, 51%)
HSVhsv(211, 71%, 80%)
CMYKcmyk(70.9%, 36.5%, 0%, 20.4%)
CIE-LABlab(52.88, 2.60, -44.70)
CIE-LCHlch(52.88, 44.78, 273.32°)
OKLaboklab(59.38% -0.041 -0.1272)
OKLCHoklch(59.38% 0.134 252.1)
XYZxyz(20.4294, 20.9399, 59.4535)
Luminance0.2094 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B81CB #CB853B
analogous
#3BC9CB #3B81CB #3D3BCB
triadic
#3B81CB #CB3B81 #81CB3B
tetradic
#3B81CB #CB3BC9 #CB853B #3BCB3D
square
#3B81CB #CB3BC9 #CB853B #3BCB3D
split-complementary
#3B81CB #CB3D3B #C9CB3B
monochromatic
#1D456E #2A639F #3B81CB #6BA0D8 #9CBFE5

Accessibility & contrast

On white

4.05
#3B81CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#3B81CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3B81CB
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B81CB#FFFFFF#000000##000000
##3B81CB1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F86CE
Deuteranopia (green-blind)
#4A78CA
Tritanopia (blue-blind)
#00929C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #3b81cb;
/* rgb */ color: rgb(59, 129, 203);
/* oklch */ color: oklch(59.4% 0.134 252.1);
Tailwind
colors: {
  custom: {
    50: '#82a5db',
    500: '#3b81cb',
    950: '#000000',
  },
}
SCSS
$custom: #3b81cb;
$custom-light: #82a5db;
$custom-dark: #000000;
JSON
{
  "hex": "#3b81cb",
  "rgb": {
    "r": 59,
    "g": 129,
    "b": 203
  },
  "hsl": {
    "h": 210.833,
    "s": 58.065,
    "l": 51.373
  },
  "oklch": {
    "l": 0.59382,
    "c": 0.1336,
    "h": 252.1
  },
  "luminance": 0.20942
}

Semantic roles & 50–950 ramp

primary
#3B81CB
secondary
#D1B291
accent
#9647E1
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0C0F15
muted
#7D7F83

Preview Lab

Preview with #3B81CB

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

Preview Lab → · Contrast checker → · Palette generator →

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