#3A7ECD#3A7ECD

#3A7ECD is a mid, vivid cyan. Relative luminance 0.202; OKLCH L 58.8% C 0.140 H 254.1°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#3A7ECD
RGBrgb(58, 126, 205)
HSLhsl(212, 60%, 52%)
HSVhsv(212, 72%, 80%)
CMYKcmyk(71.7%, 38.5%, 0%, 19.6%)
CIE-LABlab(52.09, 4.98, -47.10)
CIE-LCHlch(52.09, 47.36, 276.04°)
OKLaboklab(58.79% -0.0383 -0.1342)
OKLCHoklch(58.79% 0.14 254.1)
XYZxyz(20.2211, 20.2268, 60.5842)
Luminance0.2023 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7ECD #CD893A
analogous
#3AC7CD #3A7ECD #403ACD
triadic
#3A7ECD #CD3A7E #7ECD3A
tetradic
#3A7ECD #CD3AC7 #CD893A #3ACD40
square
#3A7ECD #CD3AC7 #CD893A #3ACD40
split-complementary
#3A7ECD #CD403A #C7CD3A
monochromatic
#1C4370 #2960A1 #3A7ECD #6B9ED9 #9CBEE6

Accessibility & contrast

On white

4.16
#3A7ECD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#3A7ECD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A7ECD
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7ECD#FFFFFF#000000##000000
##3A7ECD1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5984D0
Deuteranopia (green-blind)
#4376CB
Tritanopia (blue-blind)
#00909B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #3a7ecd;
/* rgb */ color: rgb(58, 126, 205);
/* oklch */ color: oklch(58.8% 0.140 254.1);
Tailwind
colors: {
  custom: {
    50: '#82a2dd',
    500: '#3a7ecd',
    950: '#000000',
  },
}
SCSS
$custom: #3a7ecd;
$custom-light: #82a2dd;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7ecd",
  "rgb": {
    "r": 58,
    "g": 126,
    "b": 205
  },
  "hsl": {
    "h": 212.245,
    "s": 59.514,
    "l": 51.569
  },
  "oklch": {
    "l": 0.58789,
    "c": 0.13959,
    "h": 254.1
  },
  "luminance": 0.20229
}

Semantic roles & 50–950 ramp

primary
#3A7ECD
secondary
#D2B491
accent
#9A45E3
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0F15
muted
#7D7E83

Preview Lab

Preview with #3A7ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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