#3A7DC5#3A7DC5

#3A7DC5 is a mid, vivid cyan. Relative luminance 0.196; OKLCH L 58.1% C 0.130 H 252.4°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#3A7DC5
RGBrgb(58, 125, 197)
HSLhsl(211, 55%, 50%)
HSVhsv(211, 71%, 77%)
CMYKcmyk(70.6%, 36.5%, 0%, 22.7%)
CIE-LABlab(51.38, 2.72, -43.68)
CIE-LCHlch(51.38, 43.76, 273.56°)
OKLaboklab(58.09% -0.0394 -0.1242)
OKLCHoklch(58.09% 0.13 252.4)
XYZxyz(19.1528, 19.5959, 55.5855)
Luminance0.1960 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7DC5 #C5823A
analogous
#3AC3C5 #3A7DC5 #3C3AC5
triadic
#3A7DC5 #C53A7D #7DC53A
tetradic
#3A7DC5 #C53AC3 #C5823A #3AC53C
square
#3A7DC5 #C53AC3 #C5823A #3AC53C
split-complementary
#3A7DC5 #C53C3A #C3C53A
monochromatic
#1E4166 #2C5F96 #3A7DC5 #699CD3 #99BBE1

Accessibility & contrast

On white

4.27
#3A7DC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#3A7DC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A7DC5
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7DC5#FFFFFF#000000##000000
##3A7DC51.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C82C8
Deuteranopia (green-blind)
#4874C4
Tritanopia (blue-blind)
#008E97
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #3a7dc5;
/* rgb */ color: rgb(58, 125, 197);
/* oklch */ color: oklch(58.1% 0.130 252.4);
Tailwind
colors: {
  custom: {
    50: '#80a2d7',
    500: '#3a7dc5',
    950: '#000000',
  },
}
SCSS
$custom: #3a7dc5;
$custom-light: #80a2d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7dc5",
  "rgb": {
    "r": 58,
    "g": 125,
    "b": 197
  },
  "hsl": {
    "h": 211.079,
    "s": 54.51,
    "l": 50
  },
  "oklch": {
    "l": 0.58091,
    "c": 0.1303,
    "h": 252.4
  },
  "luminance": 0.19598
}

Semantic roles & 50–950 ramp

primary
#3A7DC5
secondary
#CDAF8E
accent
#974ADE
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0B0F14
muted
#7C7E83

Preview Lab

Preview with #3A7DC5

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

Preview Lab → · Contrast checker → · Palette generator →

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