#3A7EC3#3A7EC3

#3A7EC3 is a mid, vivid cyan. Relative luminance 0.198; OKLCH L 58.2% C 0.127 H 251.2°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#3A7EC3
RGBrgb(58, 126, 195)
HSLhsl(210, 54%, 50%)
HSVhsv(210, 70%, 76%)
CMYKcmyk(70.3%, 35.4%, 0%, 23.5%)
CIE-LABlab(51.56, 1.40, -42.24)
CIE-LCHlch(51.56, 42.26, 271.90°)
OKLaboklab(58.2% -0.0409 -0.12)
OKLCHoklch(58.2% 0.127 251.2)
XYZxyz(19.0524, 19.7593, 54.4290)
Luminance0.1976 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7EC3 #C37F3A
analogous
#3AC3C3 #3A7EC3 #3B3AC3
triadic
#3A7EC3 #C33A7E #7EC33A
tetradic
#3A7EC3 #C33AC3 #C37F3A #3AC33B
square
#3A7EC3 #C33AC3 #C37F3A #3AC33B
split-complementary
#3A7EC3 #C33B3A #C3C33A
monochromatic
#1E4165 #2C6094 #3A7EC3 #689DD2 #97BBE0

Accessibility & contrast

On white

4.24
#3A7EC3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#3A7EC3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A7EC3
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7EC3#FFFFFF#000000##000000
##3A7EC31.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a7ec3;
/* rgb */ color: rgb(58, 126, 195);
/* oklch */ color: oklch(58.2% 0.127 251.2);
Tailwind
colors: {
  custom: {
    50: '#80a3d5',
    500: '#3a7ec3',
    950: '#000000',
  },
}
SCSS
$custom: #3a7ec3;
$custom-light: #80a3d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7ec3",
  "rgb": {
    "r": 58,
    "g": 126,
    "b": 195
  },
  "hsl": {
    "h": 210.219,
    "s": 54.15,
    "l": 49.608
  },
  "oklch": {
    "l": 0.58203,
    "c": 0.12676,
    "h": 251.2
  },
  "luminance": 0.19761
}

Semantic roles & 50–950 ramp

primary
#3A7EC3
secondary
#CCAD8D
accent
#944ADE
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0B0F14
muted
#7C7E83

Preview Lab

Preview with #3A7EC3

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

Preview Lab → · Contrast checker → · Palette generator →

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