#3A81CC#3A81CC

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

Color values

HEX#3A81CC
RGBrgb(58, 129, 204)
HSLhsl(211, 59%, 51%)
HSVhsv(211, 72%, 80%)
CMYKcmyk(71.6%, 36.8%, 0%, 20%)
CIE-LABlab(52.90, 2.81, -45.24)
CIE-LCHlch(52.90, 45.33, 273.55°)
OKLaboklab(59.4% -0.0414 -0.1287)
OKLCHoklch(59.4% 0.135 252.2)
XYZxyz(20.4902, 20.9574, 60.0803)
Luminance0.2096 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A81CC #CC853A
analogous
#3ACACC #3A81CC #3C3ACC
triadic
#3A81CC #CC3A81 #81CC3A
tetradic
#3A81CC #CC3ACA #CC853A #3ACC3C
square
#3A81CC #CC3ACA #CC853A #3ACC3C
split-complementary
#3A81CC #CC3C3A #CACC3A
monochromatic
#1D456F #2963A0 #3A81CC #6BA0D9 #9BBFE5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A81CC#FFFFFF#000000##000000
##3A81CC1.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.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: #3a81cc;
/* rgb */ color: rgb(58, 129, 204);
/* oklch */ color: oklch(59.4% 0.135 252.2);
Tailwind
colors: {
  custom: {
    50: '#82a5dc',
    500: '#3a81cc',
    950: '#000000',
  },
}
SCSS
$custom: #3a81cc;
$custom-light: #82a5dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3a81cc",
  "rgb": {
    "r": 58,
    "g": 129,
    "b": 204
  },
  "hsl": {
    "h": 210.822,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.59405,
    "c": 0.13523,
    "h": 252.2
  },
  "luminance": 0.2096
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A81CC

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

Preview Lab → · Contrast checker → · Palette generator →

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