#3A7AC4#3A7AC4

#3A7AC4 is a mid, vivid cyan. Relative luminance 0.188; OKLCH L 57.4% C 0.132 H 253.8°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#3A7AC4
RGBrgb(58, 122, 196)
HSLhsl(212, 54%, 50%)
HSVhsv(212, 70%, 77%)
CMYKcmyk(70.4%, 37.8%, 0%, 23.1%)
CIE-LABlab(50.45, 4.18, -44.57)
CIE-LCHlch(50.45, 44.76, 275.36°)
OKLaboklab(57.35% -0.0367 -0.1269)
OKLCHoklch(57.35% 0.132 253.8)
XYZxyz(18.6646, 18.8021, 54.8594)
Luminance0.1880 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7AC4 #C4843A
analogous
#3ABFC4 #3A7AC4 #3F3AC4
triadic
#3A7AC4 #C43A7A #7AC43A
tetradic
#3A7AC4 #C43ABF #C4843A #3AC43F
square
#3A7AC4 #C43ABF #C4843A #3AC43F
split-complementary
#3A7AC4 #C43F3A #BFC43A
monochromatic
#1E3F66 #2C5D95 #3A7AC4 #699AD3 #98BAE0

Accessibility & contrast

On white

4.41
#3A7AC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#3A7AC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A7AC4
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7AC4#FFFFFF#000000##000000
##3A7AC41.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#587FC7
Deuteranopia (green-blind)
#4472C3
Tritanopia (blue-blind)
#008B95
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #3a7ac4;
/* rgb */ color: rgb(58, 122, 196);
/* oklch */ color: oklch(57.4% 0.132 253.8);
Tailwind
colors: {
  custom: {
    50: '#80a0d6',
    500: '#3a7ac4',
    950: '#000000',
  },
}
SCSS
$custom: #3a7ac4;
$custom-light: #80a0d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7ac4",
  "rgb": {
    "r": 58,
    "g": 122,
    "b": 196
  },
  "hsl": {
    "h": 212.174,
    "s": 54.331,
    "l": 49.804
  },
  "oklch": {
    "l": 0.57353,
    "c": 0.13208,
    "h": 253.8
  },
  "luminance": 0.18804
}

Semantic roles & 50–950 ramp

primary
#3A7AC4
secondary
#CCAF8E
accent
#994ADE
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0B0E14
muted
#7C7E83

Preview Lab

Preview with #3A7AC4

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

Preview Lab → · Contrast checker → · Palette generator →

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