#3B81CA#3B81CA

#3B81CA is a mid, vivid cyan. Relative luminance 0.209; OKLCH L 59.3% C 0.132 H 251.8°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#3B81CA
RGBrgb(59, 129, 202)
HSLhsl(211, 57%, 51%)
HSVhsv(211, 71%, 79%)
CMYKcmyk(70.8%, 36.1%, 0%, 20.8%)
CIE-LABlab(52.83, 2.24, -44.22)
CIE-LCHlch(52.83, 44.28, 272.90°)
OKLaboklab(59.32% -0.0413 -0.1257)
OKLCHoklch(59.32% 0.132 251.8)
XYZxyz(20.3106, 20.8924, 58.8279)
Luminance0.2089 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B81CA #CA843B
analogous
#3BC9CA #3B81CA #3C3BCA
triadic
#3B81CA #CA3B81 #81CA3B
tetradic
#3B81CA #CA3BC9 #CA843B #3BCA3C
square
#3B81CA #CA3BC9 #CA843B #3BCA3C
split-complementary
#3B81CA #CA3C3B #C9CA3B
monochromatic
#1E446D #2B639D #3B81CA #6BA0D7 #9BBFE4

Accessibility & contrast

On white

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

On black

5.18
#3B81CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3B81CA
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B81CA#FFFFFF#000000##000000
##3B81CA1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6085CD
Deuteranopia (green-blind)
#4B78C9
Tritanopia (blue-blind)
#00929C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #3b81ca;
/* rgb */ color: rgb(59, 129, 202);
/* oklch */ color: oklch(59.3% 0.132 251.8);
Tailwind
colors: {
  custom: {
    50: '#82a5da',
    500: '#3b81ca',
    950: '#000000',
  },
}
SCSS
$custom: #3b81ca;
$custom-light: #82a5da;
$custom-dark: #000000;
JSON
{
  "hex": "#3b81ca",
  "rgb": {
    "r": 59,
    "g": 129,
    "b": 202
  },
  "hsl": {
    "h": 210.629,
    "s": 57.43,
    "l": 51.176
  },
  "oklch": {
    "l": 0.59324,
    "c": 0.13233,
    "h": 251.8
  },
  "luminance": 0.20895
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3B81CA

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

Preview Lab → · Contrast checker → · Palette generator →

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