#3A7AC5#3A7AC5

#3A7AC5 is a mid, vivid cyan. Relative luminance 0.189; OKLCH L 57.4% C 0.133 H 254.1°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#3A7AC5
RGBrgb(58, 122, 197)
HSLhsl(212, 55%, 50%)
HSVhsv(212, 71%, 77%)
CMYKcmyk(70.6%, 38.1%, 0%, 22.7%)
CIE-LABlab(50.51, 4.54, -45.05)
CIE-LCHlch(50.51, 45.28, 275.75°)
OKLaboklab(57.41% -0.0365 -0.1283)
OKLCHoklch(57.41% 0.133 254.1)
XYZxyz(18.7788, 18.8478, 55.4608)
Luminance0.1885 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7AC5 #C5853A
analogous
#3AC0C5 #3A7AC5 #3F3AC5
triadic
#3A7AC5 #C53A7A #7AC53A
tetradic
#3A7AC5 #C53AC0 #C5853A #3AC53F
square
#3A7AC5 #C53AC0 #C5853A #3AC53F
split-complementary
#3A7AC5 #C53F3A #C0C53A
monochromatic
#1E3F66 #2C5D96 #3A7AC5 #699AD3 #99BAE1

Accessibility & contrast

On white

4.40
#3A7AC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#3A7AC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A7AC5
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7AC5#FFFFFF#000000##000000
##3A7AC51.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#587FC8
Deuteranopia (green-blind)
#4372C3
Tritanopia (blue-blind)
#008C96
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #3a7ac5;
/* rgb */ color: rgb(58, 122, 197);
/* oklch */ color: oklch(57.4% 0.133 254.1);
Tailwind
colors: {
  custom: {
    50: '#80a0d7',
    500: '#3a7ac5',
    950: '#000000',
  },
}
SCSS
$custom: #3a7ac5;
$custom-light: #80a0d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7ac5",
  "rgb": {
    "r": 58,
    "g": 122,
    "b": 197
  },
  "hsl": {
    "h": 212.374,
    "s": 54.51,
    "l": 50
  },
  "oklch": {
    "l": 0.57413,
    "c": 0.13338,
    "h": 254.1
  },
  "luminance": 0.1885
}

Semantic roles & 50–950 ramp

primary
#3A7AC5
secondary
#CDB08E
accent
#9A4ADE
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0B0E14
muted
#7C7E83

Preview Lab

Preview with #3A7AC5

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

Preview Lab → · Contrast checker → · Palette generator →

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