#3B82CC#3B82CC

#3B82CC is a mid, vivid cyan. Relative luminance 0.213; OKLCH L 59.7% C 0.134 H 251.9°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#3B82CC
RGBrgb(59, 130, 204)
HSLhsl(211, 59%, 52%)
HSVhsv(211, 71%, 80%)
CMYKcmyk(71.1%, 36.3%, 0%, 20%)
CIE-LABlab(53.22, 2.35, -44.73)
CIE-LCHlch(53.22, 44.79, 273.01°)
OKLaboklab(59.67% -0.0417 -0.1272)
OKLCHoklch(59.67% 0.134 251.9)
XYZxyz(20.6813, 21.2524, 60.1272)
Luminance0.2125 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B82CC #CC853B
analogous
#3BCACC #3B82CC #3D3BCC
triadic
#3B82CC #CC3B82 #82CC3B
tetradic
#3B82CC #CC3BCA #CC853B #3BCC3D
square
#3B82CC #CC3BCA #CC853B #3BCC3D
split-complementary
#3B82CC #CC3D3B #CACC3B
monochromatic
#1D4570 #2A64A0 #3B82CC #6CA1D9 #9CC0E5

Accessibility & contrast

On white

4.00
#3B82CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#3B82CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3B82CC
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B82CC#FFFFFF#000000##000000
##3B82CC1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6087CF
Deuteranopia (green-blind)
#4B79CB
Tritanopia (blue-blind)
#00939D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #3b82cc;
/* rgb */ color: rgb(59, 130, 204);
/* oklch */ color: oklch(59.7% 0.134 251.9);
Tailwind
colors: {
  custom: {
    50: '#82a5dc',
    500: '#3b82cc',
    950: '#000000',
  },
}
SCSS
$custom: #3b82cc;
$custom-light: #82a5dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3b82cc",
  "rgb": {
    "r": 59,
    "g": 130,
    "b": 204
  },
  "hsl": {
    "h": 210.621,
    "s": 58.704,
    "l": 51.569
  },
  "oklch": {
    "l": 0.59666,
    "c": 0.13388,
    "h": 251.9
  },
  "luminance": 0.21255
}

Semantic roles & 50–950 ramp

primary
#3B82CC
secondary
#D1B292
accent
#9646E2
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0C0F15
muted
#7D7F83

Preview Lab

Preview with #3B82CC

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

Preview Lab → · Contrast checker → · Palette generator →

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