#3A7EC6#3A7EC6

#3A7EC6 is a mid, vivid cyan. Relative luminance 0.199; OKLCH L 58.4% C 0.131 H 252.1°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#3A7EC6
RGBrgb(58, 126, 198)
HSLhsl(211, 55%, 50%)
HSVhsv(211, 71%, 78%)
CMYKcmyk(70.7%, 36.4%, 0%, 22.4%)
CIE-LABlab(51.72, 2.47, -43.70)
CIE-LCHlch(51.72, 43.77, 273.23°)
OKLaboklab(58.38% -0.0401 -0.1243)
OKLCHoklch(58.38% 0.131 252.1)
XYZxyz(19.3950, 19.8964, 56.2334)
Luminance0.1990 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7EC6 #C6823A
analogous
#3AC4C6 #3A7EC6 #3C3AC6
triadic
#3A7EC6 #C63A7E #7EC63A
tetradic
#3A7EC6 #C63AC4 #C6823A #3AC63C
square
#3A7EC6 #C63AC4 #C6823A #3AC63C
split-complementary
#3A7EC6 #C63C3A #C4C63A
monochromatic
#1E4268 #2C6097 #3A7EC6 #699DD4 #99BCE1

Accessibility & contrast

On white

4.22
#3A7EC6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#3A7EC6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A7EC6
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7EC6#FFFFFF#000000##000000
##3A7EC61.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D82C9
Deuteranopia (green-blind)
#4975C5
Tritanopia (blue-blind)
#008F98
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #3a7ec6;
/* rgb */ color: rgb(58, 126, 198);
/* oklch */ color: oklch(58.4% 0.131 252.1);
Tailwind
colors: {
  custom: {
    50: '#81a3d7',
    500: '#3a7ec6',
    950: '#000000',
  },
}
SCSS
$custom: #3a7ec6;
$custom-light: #81a3d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7ec6",
  "rgb": {
    "r": 58,
    "g": 126,
    "b": 198
  },
  "hsl": {
    "h": 210.857,
    "s": 55.118,
    "l": 50.196
  },
  "oklch": {
    "l": 0.58376,
    "c": 0.13058,
    "h": 252.1
  },
  "luminance": 0.19898
}

Semantic roles & 50–950 ramp

primary
#3A7EC6
secondary
#CDAF8F
accent
#9649DE
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0F14
muted
#7D7E83

Preview Lab

Preview with #3A7EC6

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

Preview Lab → · Contrast checker → · Palette generator →

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