#3A7CC5#3A7CC5

#3A7CC5 is a mid, vivid cyan. Relative luminance 0.193; OKLCH L 57.9% C 0.131 H 253.0°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#3A7CC5
RGBrgb(58, 124, 197)
HSLhsl(212, 55%, 50%)
HSVhsv(212, 71%, 77%)
CMYKcmyk(70.6%, 37.1%, 0%, 22.7%)
CIE-LABlab(51.09, 3.32, -44.14)
CIE-LCHlch(51.09, 44.26, 274.30°)
OKLaboklab(57.86% -0.0384 -0.1256)
OKLCHoklch(57.86% 0.131 253)
XYZxyz(19.0269, 19.3440, 55.5435)
Luminance0.1935 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7CC5 #C5833A
analogous
#3AC1C5 #3A7CC5 #3E3AC5
triadic
#3A7CC5 #C53A7C #7CC53A
tetradic
#3A7CC5 #C53AC1 #C5833A #3AC53E
square
#3A7CC5 #C53AC1 #C5833A #3AC53E
split-complementary
#3A7CC5 #C53E3A #C1C53A
monochromatic
#1E4066 #2C5E96 #3A7CC5 #699BD3 #99BBE1

Accessibility & contrast

On white

4.31
#3A7CC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#3A7CC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A7CC5
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7CC5#FFFFFF#000000##000000
##3A7CC51.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B81C8
Deuteranopia (green-blind)
#4674C4
Tritanopia (blue-blind)
#008D97
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #3a7cc5;
/* rgb */ color: rgb(58, 124, 197);
/* oklch */ color: oklch(57.9% 0.131 253.0);
Tailwind
colors: {
  custom: {
    50: '#80a1d7',
    500: '#3a7cc5',
    950: '#000000',
  },
}
SCSS
$custom: #3a7cc5;
$custom-light: #80a1d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7cc5",
  "rgb": {
    "r": 58,
    "g": 124,
    "b": 197
  },
  "hsl": {
    "h": 211.511,
    "s": 54.51,
    "l": 50
  },
  "oklch": {
    "l": 0.57864,
    "c": 0.13131,
    "h": 253
  },
  "luminance": 0.19346
}

Semantic roles & 50–950 ramp

primary
#3A7CC5
secondary
#CDAF8E
accent
#984ADE
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0B0E14
muted
#7C7E83

Preview Lab

Preview with #3A7CC5

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

Preview Lab → · Contrast checker → · Palette generator →

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