#3A7EC7#3A7EC7

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

Color values

HEX#3A7EC7
RGBrgb(58, 126, 199)
HSLhsl(211, 56%, 50%)
HSVhsv(211, 71%, 78%)
CMYKcmyk(70.9%, 36.7%, 0%, 22%)
CIE-LABlab(51.77, 2.83, -44.19)
CIE-LCHlch(51.77, 44.28, 273.66°)
OKLaboklab(58.43% -0.0398 -0.1257)
OKLCHoklch(58.43% 0.132 252.4)
XYZxyz(19.5108, 19.9427, 56.8428)
Luminance0.1994 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7EC7 #C7833A
analogous
#3AC4C7 #3A7EC7 #3D3AC7
triadic
#3A7EC7 #C73A7E #7EC73A
tetradic
#3A7EC7 #C73AC4 #C7833A #3AC73D
square
#3A7EC7 #C73AC4 #C7833A #3AC73D
split-complementary
#3A7EC7 #C73D3A #C4C73A
monochromatic
#1E4269 #2B6098 #3A7EC7 #6A9DD5 #99BCE2

Accessibility & contrast

On white

4.21
#3A7EC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#3A7EC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A7EC7
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7EC7#FFFFFF#000000##000000
##3A7EC71.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D83CA
Deuteranopia (green-blind)
#4875C6
Tritanopia (blue-blind)
#008F99
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #3a7ec7;
/* rgb */ color: rgb(58, 126, 199);
/* oklch */ color: oklch(58.4% 0.132 252.4);
Tailwind
colors: {
  custom: {
    50: '#81a3d8',
    500: '#3a7ec7',
    950: '#000000',
  },
}
SCSS
$custom: #3a7ec7;
$custom-light: #81a3d8;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7ec7",
  "rgb": {
    "r": 58,
    "g": 126,
    "b": 199
  },
  "hsl": {
    "h": 211.064,
    "s": 55.731,
    "l": 50.392
  },
  "oklch": {
    "l": 0.58434,
    "c": 0.13187,
    "h": 252.4
  },
  "luminance": 0.19945
}

Semantic roles & 50–950 ramp

primary
#3A7EC7
secondary
#CEB08F
accent
#9749DF
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0F14
muted
#7D7E83

Preview Lab

Preview with #3A7EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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