#3A7ECC#3A7ECC

#3A7ECC is a mid, vivid cyan. Relative luminance 0.202; OKLCH L 58.7% C 0.138 H 253.8°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#3A7ECC
RGBrgb(58, 126, 204)
HSLhsl(212, 59%, 51%)
HSVhsv(212, 72%, 80%)
CMYKcmyk(71.6%, 38.2%, 0%, 20%)
CIE-LABlab(52.04, 4.62, -46.62)
CIE-LCHlch(52.04, 46.84, 275.66°)
OKLaboklab(58.73% -0.0386 -0.1328)
OKLCHoklch(58.73% 0.138 253.8)
XYZxyz(20.1008, 20.1787, 59.9505)
Luminance0.2018 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7ECC #CC883A
analogous
#3AC7CC #3A7ECC #3F3ACC
triadic
#3A7ECC #CC3A7E #7ECC3A
tetradic
#3A7ECC #CC3AC7 #CC883A #3ACC3F
square
#3A7ECC #CC3AC7 #CC883A #3ACC3F
split-complementary
#3A7ECC #CC3F3A #C7CC3A
monochromatic
#1D436F #2960A0 #3A7ECC #6B9ED9 #9BBEE5

Accessibility & contrast

On white

4.17
#3A7ECC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#3A7ECC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A7ECC
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7ECC#FFFFFF#000000##000000
##3A7ECC1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A83CF
Deuteranopia (green-blind)
#4476CA
Tritanopia (blue-blind)
#00909B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #3a7ecc;
/* rgb */ color: rgb(58, 126, 204);
/* oklch */ color: oklch(58.7% 0.138 253.8);
Tailwind
colors: {
  custom: {
    50: '#82a2dc',
    500: '#3a7ecc',
    950: '#000000',
  },
}
SCSS
$custom: #3a7ecc;
$custom-light: #82a2dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7ecc",
  "rgb": {
    "r": 58,
    "g": 126,
    "b": 204
  },
  "hsl": {
    "h": 212.055,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.58729,
    "c": 0.1383,
    "h": 253.8
  },
  "luminance": 0.20181
}

Semantic roles & 50–950 ramp

primary
#3A7ECC
secondary
#D1B391
accent
#9946E2
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0F15
muted
#7D7E83

Preview Lab

Preview with #3A7ECC

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

Preview Lab → · Contrast checker → · Palette generator →

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