#3A82CC#3A82CC

#3A82CC is a mid, vivid cyan. Relative luminance 0.212; OKLCH L 59.6% C 0.134 H 251.6°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#3A82CC
RGBrgb(58, 130, 204)
HSLhsl(210, 59%, 51%)
HSVhsv(210, 72%, 80%)
CMYKcmyk(71.6%, 36.3%, 0%, 20%)
CIE-LABlab(53.19, 2.21, -44.79)
CIE-LCHlch(53.19, 44.84, 272.82°)
OKLaboklab(59.63% -0.0423 -0.1274)
OKLCHoklch(59.63% 0.134 251.6)
XYZxyz(20.6226, 21.2222, 60.1245)
Luminance0.2122 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A82CC #CC843A
analogous
#3ACBCC #3A82CC #3B3ACC
triadic
#3A82CC #CC3A82 #82CC3A
tetradic
#3A82CC #CC3ACB #CC843A #3ACC3B
square
#3A82CC #CC3ACB #CC843A #3ACC3B
split-complementary
#3A82CC #CC3B3A #CBCC3A
monochromatic
#1D456F #2964A0 #3A82CC #6BA1D9 #9BC0E5

Accessibility & contrast

On white

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

On black

5.24
#3A82CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A82CC
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A82CC#FFFFFF#000000##000000
##3A82CC1.004.005.245.24
#FFFFFF4.001.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a82cc;
/* rgb */ color: rgb(58, 130, 204);
/* oklch */ color: oklch(59.6% 0.134 251.6);
Tailwind
colors: {
  custom: {
    50: '#82a5dc',
    500: '#3a82cc',
    950: '#000000',
  },
}
SCSS
$custom: #3a82cc;
$custom-light: #82a5dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3a82cc",
  "rgb": {
    "r": 58,
    "g": 130,
    "b": 204
  },
  "hsl": {
    "h": 210.411,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.59631,
    "c": 0.13424,
    "h": 251.6
  },
  "luminance": 0.21224
}

Semantic roles & 50–950 ramp

primary
#3A82CC
secondary
#D1B191
accent
#9546E2
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0C0F15
muted
#7D7F83

Preview Lab

Preview with #3A82CC

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

Preview Lab → · Contrast checker → · Palette generator →

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