#3A7DC7#3A7DC7

#3A7DC7 is a mid, vivid cyan. Relative luminance 0.197; OKLCH L 58.2% C 0.133 H 253.0°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#3A7DC7
RGBrgb(58, 125, 199)
HSLhsl(211, 56%, 50%)
HSVhsv(211, 71%, 78%)
CMYKcmyk(70.9%, 37.2%, 0%, 22%)
CIE-LABlab(51.48, 3.43, -44.65)
CIE-LCHlch(51.48, 44.78, 274.40°)
OKLaboklab(58.21% -0.0389 -0.1271)
OKLCHoklch(58.21% 0.133 253)
XYZxyz(19.3835, 19.6882, 56.8004)
Luminance0.1969 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7DC7 #C7843A
analogous
#3AC4C7 #3A7DC7 #3D3AC7
triadic
#3A7DC7 #C73A7D #7DC73A
tetradic
#3A7DC7 #C73AC4 #C7843A #3AC73D
square
#3A7DC7 #C73AC4 #C7843A #3AC73D
split-complementary
#3A7DC7 #C73D3A #C4C73A
monochromatic
#1E4169 #2B5F98 #3A7DC7 #6A9CD5 #99BCE2

Accessibility & contrast

On white

4.25
#3A7DC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#3A7DC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A7DC7
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7DC7#FFFFFF#000000##000000
##3A7DC71.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B82CA
Deuteranopia (green-blind)
#4675C6
Tritanopia (blue-blind)
#008E98
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #3a7dc7;
/* rgb */ color: rgb(58, 125, 199);
/* oklch */ color: oklch(58.2% 0.133 253.0);
Tailwind
colors: {
  custom: {
    50: '#81a2d8',
    500: '#3a7dc7',
    950: '#000000',
  },
}
SCSS
$custom: #3a7dc7;
$custom-light: #81a2d8;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7dc7",
  "rgb": {
    "r": 58,
    "g": 125,
    "b": 199
  },
  "hsl": {
    "h": 211.489,
    "s": 55.731,
    "l": 50.392
  },
  "oklch": {
    "l": 0.58208,
    "c": 0.13288,
    "h": 253
  },
  "luminance": 0.1969
}

Semantic roles & 50–950 ramp

primary
#3A7DC7
secondary
#CEB08F
accent
#9849DF
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0F14
muted
#7D7E83

Preview Lab

Preview with #3A7DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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