#3A7ECA#3A7ECA

#3A7ECA is a mid, vivid cyan. Relative luminance 0.201; OKLCH L 58.6% C 0.136 H 253.3°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#3A7ECA
RGBrgb(58, 126, 202)
HSLhsl(212, 58%, 51%)
HSVhsv(212, 71%, 79%)
CMYKcmyk(71.3%, 37.6%, 0%, 20.8%)
CIE-LABlab(51.93, 3.90, -45.65)
CIE-LCHlch(51.93, 45.81, 274.89°)
OKLaboklab(58.61% -0.0391 -0.13)
OKLCHoklch(58.61% 0.136 253.3)
XYZxyz(19.8625, 20.0834, 58.6953)
Luminance0.2009 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7ECA #CA863A
analogous
#3AC6CA #3A7ECA #3E3ACA
triadic
#3A7ECA #CA3A7E #7ECA3A
tetradic
#3A7ECA #CA3AC6 #CA863A #3ACA3E
square
#3A7ECA #CA3AC6 #CA863A #3ACA3E
split-complementary
#3A7ECA #CA3E3A #C6CA3A
monochromatic
#1D436C #2A609D #3A7ECA #6A9ED7 #9ABDE4

Accessibility & contrast

On white

4.19
#3A7ECA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#3A7ECA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A7ECA
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7ECA#FFFFFF#000000##000000
##3A7ECA1.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B83CD
Deuteranopia (green-blind)
#4676C8
Tritanopia (blue-blind)
#00909A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #3a7eca;
/* rgb */ color: rgb(58, 126, 202);
/* oklch */ color: oklch(58.6% 0.136 253.3);
Tailwind
colors: {
  custom: {
    50: '#81a2da',
    500: '#3a7eca',
    950: '#000000',
  },
}
SCSS
$custom: #3a7eca;
$custom-light: #81a2da;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7eca",
  "rgb": {
    "r": 58,
    "g": 126,
    "b": 202
  },
  "hsl": {
    "h": 211.667,
    "s": 57.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.58611,
    "c": 0.13572,
    "h": 253.3
  },
  "luminance": 0.20086
}

Semantic roles & 50–950 ramp

primary
#3A7ECA
secondary
#D0B290
accent
#9847E1
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0F15
muted
#7D7E83

Preview Lab

Preview with #3A7ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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