#3A7EC2#3A7EC2

#3A7EC2 is a mid, vivid cyan. Relative luminance 0.197; OKLCH L 58.1% C 0.125 H 250.9°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#3A7EC2
RGBrgb(58, 126, 194)
HSLhsl(210, 54%, 49%)
HSVhsv(210, 70%, 76%)
CMYKcmyk(70.1%, 35.1%, 0%, 23.9%)
CIE-LABlab(51.51, 1.04, -41.75)
CIE-LCHlch(51.51, 41.76, 271.43°)
OKLaboklab(58.15% -0.0411 -0.1186)
OKLCHoklch(58.15% 0.125 250.9)
XYZxyz(18.9398, 19.7143, 53.8355)
Luminance0.1972 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7EC2 #C27E3A
analogous
#3AC2C2 #3A7EC2 #3A3AC2
triadic
#3A7EC2 #C23A7E #7EC23A
tetradic
#3A7EC2 #C23AC2 #C27E3A #3AC23A
square
#3A7EC2 #C23AC2 #C27E3A #3AC23A
split-complementary
#3A7EC2 #C23A3A #C2C23A
monochromatic
#1E4164 #2C5F93 #3A7EC2 #679DD2 #97BBE0

Accessibility & contrast

On white

4.25
#3A7EC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#3A7EC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A7EC2
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7EC2#FFFFFF#000000##000000
##3A7EC21.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F82C5
Deuteranopia (green-blind)
#4C75C1
Tritanopia (blue-blind)
#008E97
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #3a7ec2;
/* rgb */ color: rgb(58, 126, 194);
/* oklch */ color: oklch(58.1% 0.125 250.9);
Tailwind
colors: {
  custom: {
    50: '#80a3d5',
    500: '#3a7ec2',
    950: '#000000',
  },
}
SCSS
$custom: #3a7ec2;
$custom-light: #80a3d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7ec2",
  "rgb": {
    "r": 58,
    "g": 126,
    "b": 194
  },
  "hsl": {
    "h": 210,
    "s": 53.968,
    "l": 49.412
  },
  "oklch": {
    "l": 0.58146,
    "c": 0.12549,
    "h": 250.9
  },
  "luminance": 0.19716
}

Semantic roles & 50–950 ramp

primary
#3A7EC2
secondary
#CBAC8D
accent
#944ADD
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0B0F14
muted
#7C7E83

Preview Lab

Preview with #3A7EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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