#3A7EC5#3A7EC5

#3A7EC5 is a mid, vivid cyan. Relative luminance 0.199; OKLCH L 58.3% C 0.129 H 251.8°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#3A7EC5
RGBrgb(58, 126, 197)
HSLhsl(211, 55%, 50%)
HSVhsv(211, 71%, 77%)
CMYKcmyk(70.6%, 36%, 0%, 22.7%)
CIE-LABlab(51.67, 2.11, -43.22)
CIE-LCHlch(51.67, 43.27, 272.80°)
OKLaboklab(58.32% -0.0403 -0.1228)
OKLCHoklch(58.32% 0.129 251.8)
XYZxyz(19.2801, 19.8504, 55.6279)
Luminance0.1985 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7EC5 #C5813A
analogous
#3AC4C5 #3A7EC5 #3B3AC5
triadic
#3A7EC5 #C53A7E #7EC53A
tetradic
#3A7EC5 #C53AC4 #C5813A #3AC53B
square
#3A7EC5 #C53AC4 #C5813A #3AC53B
split-complementary
#3A7EC5 #C53B3A #C4C53A
monochromatic
#1E4266 #2C6096 #3A7EC5 #699DD3 #99BCE1

Accessibility & contrast

On white

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

On black

4.97
#3A7EC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A7EC5
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7EC5#FFFFFF#000000##000000
##3A7EC51.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E82C8
Deuteranopia (green-blind)
#4A75C4
Tritanopia (blue-blind)
#008F98
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #3a7ec5;
/* rgb */ color: rgb(58, 126, 197);
/* oklch */ color: oklch(58.3% 0.129 251.8);
Tailwind
colors: {
  custom: {
    50: '#80a3d7',
    500: '#3a7ec5',
    950: '#000000',
  },
}
SCSS
$custom: #3a7ec5;
$custom-light: #80a3d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7ec5",
  "rgb": {
    "r": 58,
    "g": 126,
    "b": 197
  },
  "hsl": {
    "h": 210.647,
    "s": 54.51,
    "l": 50
  },
  "oklch": {
    "l": 0.58318,
    "c": 0.1293,
    "h": 251.8
  },
  "luminance": 0.19852
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A7EC5

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

Preview Lab → · Contrast checker → · Palette generator →

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