#3A7ED9#3A7ED9

#3A7ED9 is a mid, vivid cyan. Relative luminance 0.208; OKLCH L 59.5% C 0.155 H 256.7°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#3A7ED9
RGBrgb(58, 126, 217)
HSLhsl(214, 68%, 54%)
HSVhsv(214, 73%, 85%)
CMYKcmyk(73.3%, 41.9%, 0%, 14.9%)
CIE-LABlab(52.76, 9.33, -52.82)
CIE-LCHlch(52.76, 53.64, 280.01°)
OKLaboklab(59.53% -0.0357 -0.151)
OKLCHoklch(59.53% 0.155 256.7)
XYZxyz(21.7256, 20.8286, 68.5075)
Luminance0.2083 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7ED9 #D9953A
analogous
#3ACDD9 #3A7ED9 #463AD9
triadic
#3A7ED9 #D93A7E #7ED93A
tetradic
#3A7ED9 #D93ACD #D9953A #3AD946
square
#3A7ED9 #D93ACD #D9953A #3AD946
split-complementary
#3A7ED9 #D9463A #CDD93A
monochromatic
#194580 #2360B3 #3A7ED9 #6DA0E3 #A1C1ED

Accessibility & contrast

On white

4.06
#3A7ED9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#3A7ED9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A7ED9
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7ED9#FFFFFF#000000##000000
##3A7ED91.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5286DD
Deuteranopia (green-blind)
#3677D7
Tritanopia (blue-blind)
#0093A1
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #3a7ed9;
/* rgb */ color: rgb(58, 126, 217);
/* oklch */ color: oklch(59.5% 0.155 256.7);
Tailwind
colors: {
  custom: {
    50: '#84a2e5',
    500: '#3a7ed9',
    950: '#000000',
  },
}
SCSS
$custom: #3a7ed9;
$custom-light: #84a2e5;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7ed9",
  "rgb": {
    "r": 58,
    "g": 126,
    "b": 217
  },
  "hsl": {
    "h": 214.34,
    "s": 67.66,
    "l": 53.922
  },
  "oklch": {
    "l": 0.59526,
    "c": 0.15519,
    "h": 256.7
  },
  "luminance": 0.20831
}

Semantic roles & 50–950 ramp

primary
#3A7ED9
secondary
#D9BC95
accent
#A03DEB
background
#F8F9FE
surface
#F0F2FC
border
#CBCCD5
text
#0C0F16
muted
#7D7E84

Preview Lab

Preview with #3A7ED9

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

Preview Lab → · Contrast checker → · Palette generator →

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