#3A7DC4#3A7DC4

#3A7DC4 is a mid, vivid cyan. Relative luminance 0.196; OKLCH L 58.0% C 0.129 H 252.1°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#3A7DC4
RGBrgb(58, 125, 196)
HSLhsl(211, 54%, 50%)
HSVhsv(211, 70%, 77%)
CMYKcmyk(70.4%, 36.2%, 0%, 23.1%)
CIE-LABlab(51.32, 2.36, -43.19)
CIE-LCHlch(51.32, 43.25, 273.13°)
OKLaboklab(58.03% -0.0396 -0.1228)
OKLCHoklch(58.03% 0.129 252.1)
XYZxyz(19.0386, 19.5502, 54.9840)
Luminance0.1955 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7DC4 #C4813A
analogous
#3AC2C4 #3A7DC4 #3C3AC4
triadic
#3A7DC4 #C43A7D #7DC43A
tetradic
#3A7DC4 #C43AC2 #C4813A #3AC43C
square
#3A7DC4 #C43AC2 #C4813A #3AC43C
split-complementary
#3A7DC4 #C43C3A #C2C43A
monochromatic
#1E4166 #2C5F95 #3A7DC4 #699CD3 #98BBE0

Accessibility & contrast

On white

4.28
#3A7DC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#3A7DC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A7DC4
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7DC4#FFFFFF#000000##000000
##3A7DC41.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D81C7
Deuteranopia (green-blind)
#4974C3
Tritanopia (blue-blind)
#008E97
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #3a7dc4;
/* rgb */ color: rgb(58, 125, 196);
/* oklch */ color: oklch(58.0% 0.129 252.1);
Tailwind
colors: {
  custom: {
    50: '#80a2d6',
    500: '#3a7dc4',
    950: '#000000',
  },
}
SCSS
$custom: #3a7dc4;
$custom-light: #80a2d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7dc4",
  "rgb": {
    "r": 58,
    "g": 125,
    "b": 196
  },
  "hsl": {
    "h": 210.87,
    "s": 54.331,
    "l": 49.804
  },
  "oklch": {
    "l": 0.58033,
    "c": 0.12903,
    "h": 252.1
  },
  "luminance": 0.19552
}

Semantic roles & 50–950 ramp

primary
#3A7DC4
secondary
#CCAE8E
accent
#964ADE
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0B0F14
muted
#7C7E83

Preview Lab

Preview with #3A7DC4

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

Preview Lab → · Contrast checker → · Palette generator →

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