#3A7EC4#3A7EC4

#3A7EC4 is a mid, vivid cyan. Relative luminance 0.198; OKLCH L 58.3% C 0.128 H 251.5°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#3A7EC4
RGBrgb(58, 126, 196)
HSLhsl(210, 54%, 50%)
HSVhsv(210, 70%, 77%)
CMYKcmyk(70.4%, 35.7%, 0%, 23.1%)
CIE-LABlab(51.62, 1.76, -42.73)
CIE-LCHlch(51.62, 42.76, 272.35°)
OKLaboklab(58.26% -0.0406 -0.1214)
OKLCHoklch(58.26% 0.128 251.5)
XYZxyz(19.1659, 19.8047, 55.0265)
Luminance0.1981 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7EC4 #C4803A
analogous
#3AC3C4 #3A7EC4 #3B3AC4
triadic
#3A7EC4 #C43A7E #7EC43A
tetradic
#3A7EC4 #C43AC3 #C4803A #3AC43B
square
#3A7EC4 #C43AC3 #C4803A #3AC43B
split-complementary
#3A7EC4 #C43B3A #C3C43A
monochromatic
#1E4166 #2C6095 #3A7EC4 #699DD3 #98BCE0

Accessibility & contrast

On white

4.23
#3A7EC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#3A7EC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A7EC4
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7EC4#FFFFFF#000000##000000
##3A7EC41.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E82C7
Deuteranopia (green-blind)
#4A75C3
Tritanopia (blue-blind)
#008E98
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #3a7ec4;
/* rgb */ color: rgb(58, 126, 196);
/* oklch */ color: oklch(58.3% 0.128 251.5);
Tailwind
colors: {
  custom: {
    50: '#80a3d6',
    500: '#3a7ec4',
    950: '#000000',
  },
}
SCSS
$custom: #3a7ec4;
$custom-light: #80a3d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7ec4",
  "rgb": {
    "r": 58,
    "g": 126,
    "b": 196
  },
  "hsl": {
    "h": 210.435,
    "s": 54.331,
    "l": 49.804
  },
  "oklch": {
    "l": 0.58261,
    "c": 0.12802,
    "h": 251.5
  },
  "luminance": 0.19807
}

Semantic roles & 50–950 ramp

primary
#3A7EC4
secondary
#CCAD8E
accent
#954ADE
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0B0F14
muted
#7C7E83

Preview Lab

Preview with #3A7EC4

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

Preview Lab → · Contrast checker → · Palette generator →

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