#3A81D2#3A81D2

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

Color values

HEX#3A81D2
RGBrgb(58, 129, 210)
HSLhsl(212, 63%, 53%)
HSVhsv(212, 72%, 82%)
CMYKcmyk(72.4%, 38.6%, 0%, 17.6%)
CIE-LABlab(53.22, 4.97, -48.13)
CIE-LCHlch(53.22, 48.39, 275.89°)
OKLaboklab(59.76% -0.0399 -0.1372)
OKLCHoklch(59.76% 0.143 253.8)
XYZxyz(21.2237, 21.2508, 63.9435)
Luminance0.2125 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A81D2 #D28B3A
analogous
#3ACDD2 #3A81D2 #3F3AD2
triadic
#3A81D2 #D23A81 #81D23A
tetradic
#3A81D2 #D23ACD #D28B3A #3AD23F
square
#3A81D2 #D23ACD #D28B3A #3AD23F
split-complementary
#3A81D2 #D23F3A #CDD23A
monochromatic
#1B4677 #2663A8 #3A81D2 #6CA1DD #9EC1E9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A81D2#FFFFFF#000000##000000
##3A81D21.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)
#5B87D5
Deuteranopia (green-blind)
#4479D0
Tritanopia (blue-blind)
#00949F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #3a81d2;
/* rgb */ color: rgb(58, 129, 210);
/* oklch */ color: oklch(59.8% 0.143 253.8);
Tailwind
colors: {
  custom: {
    50: '#83a5e0',
    500: '#3a81d2',
    950: '#000000',
  },
}
SCSS
$custom: #3a81d2;
$custom-light: #83a5e0;
$custom-dark: #000000;
JSON
{
  "hex": "#3a81d2",
  "rgb": {
    "r": 58,
    "g": 129,
    "b": 210
  },
  "hsl": {
    "h": 211.974,
    "s": 62.81,
    "l": 52.549
  },
  "oklch": {
    "l": 0.59759,
    "c": 0.14291,
    "h": 253.8
  },
  "luminance": 0.21253
}

Semantic roles & 50–950 ramp

primary
#3A81D2
secondary
#D5B693
accent
#9942E6
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0C0F15
muted
#7D7F83

Preview Lab

Preview with #3A81D2

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

Preview Lab → · Contrast checker → · Palette generator →

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