#3A7EC8#3A7EC8

#3A7EC8 is a mid, vivid cyan. Relative luminance 0.200; OKLCH L 58.5% C 0.133 H 252.7°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#3A7EC8
RGBrgb(58, 126, 200)
HSLhsl(211, 56%, 51%)
HSVhsv(211, 71%, 78%)
CMYKcmyk(71%, 37%, 0%, 21.6%)
CIE-LABlab(51.83, 3.19, -44.68)
CIE-LCHlch(51.83, 44.79, 274.08°)
OKLaboklab(58.49% -0.0396 -0.1271)
OKLCHoklch(58.49% 0.133 252.7)
XYZxyz(19.6272, 19.9892, 57.4563)
Luminance0.1999 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7EC8 #C8843A
analogous
#3AC5C8 #3A7EC8 #3D3AC8
triadic
#3A7EC8 #C83A7E #7EC83A
tetradic
#3A7EC8 #C83AC5 #C8843A #3AC83D
square
#3A7EC8 #C83AC5 #C8843A #3AC83D
split-complementary
#3A7EC8 #C83D3A #C5C83A
monochromatic
#1E426A #2B609A #3A7EC8 #6A9DD5 #9ABDE3

Accessibility & contrast

On white

4.20
#3A7EC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#3A7EC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A7EC8
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7EC8#FFFFFF#000000##000000
##3A7EC81.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C83CB
Deuteranopia (green-blind)
#4776C7
Tritanopia (blue-blind)
#008F99
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #3a7ec8;
/* rgb */ color: rgb(58, 126, 200);
/* oklch */ color: oklch(58.5% 0.133 252.7);
Tailwind
colors: {
  custom: {
    50: '#81a3d9',
    500: '#3a7ec8',
    950: '#000000',
  },
}
SCSS
$custom: #3a7ec8;
$custom-light: #81a3d9;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7ec8",
  "rgb": {
    "r": 58,
    "g": 126,
    "b": 200
  },
  "hsl": {
    "h": 211.268,
    "s": 56.349,
    "l": 50.588
  },
  "oklch": {
    "l": 0.58493,
    "c": 0.13315,
    "h": 252.7
  },
  "luminance": 0.19991
}

Semantic roles & 50–950 ramp

primary
#3A7EC8
secondary
#CEB08F
accent
#9748E0
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0F14
muted
#7D7E83

Preview Lab

Preview with #3A7EC8

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

Preview Lab → · Contrast checker → · Palette generator →

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