#3A7FC7#3A7FC7

#3A7FC7 is a mid, vivid cyan. Relative luminance 0.202; OKLCH L 58.7% C 0.131 H 251.8°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#3A7FC7
RGBrgb(58, 127, 199)
HSLhsl(211, 56%, 50%)
HSVhsv(211, 71%, 78%)
CMYKcmyk(70.9%, 36.2%, 0%, 22%)
CIE-LABlab(52.06, 2.22, -43.73)
CIE-LCHlch(52.06, 43.79, 272.91°)
OKLaboklab(58.66% -0.0408 -0.1243)
OKLCHoklch(58.66% 0.131 251.8)
XYZxyz(19.6393, 20.1997, 56.8857)
Luminance0.2020 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7FC7 #C7823A
analogous
#3AC6C7 #3A7FC7 #3B3AC7
triadic
#3A7FC7 #C73A7F #7FC73A
tetradic
#3A7FC7 #C73AC6 #C7823A #3AC73B
square
#3A7FC7 #C73AC6 #C7823A #3AC73B
split-complementary
#3A7FC7 #C73B3A #C6C73A
monochromatic
#1E4369 #2B6198 #3A7FC7 #6A9ED5 #99BDE2

Accessibility & contrast

On white

4.17
#3A7FC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#3A7FC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A7FC7
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7FC7#FFFFFF#000000##000000
##3A7FC71.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E83CA
Deuteranopia (green-blind)
#4A76C6
Tritanopia (blue-blind)
#009099
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #3a7fc7;
/* rgb */ color: rgb(58, 127, 199);
/* oklch */ color: oklch(58.7% 0.131 251.8);
Tailwind
colors: {
  custom: {
    50: '#81a3d8',
    500: '#3a7fc7',
    950: '#000000',
  },
}
SCSS
$custom: #3a7fc7;
$custom-light: #81a3d8;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7fc7",
  "rgb": {
    "r": 58,
    "g": 127,
    "b": 199
  },
  "hsl": {
    "h": 210.638,
    "s": 55.731,
    "l": 50.392
  },
  "oklch": {
    "l": 0.58661,
    "c": 0.13086,
    "h": 251.8
  },
  "luminance": 0.20202
}

Semantic roles & 50–950 ramp

primary
#3A7FC7
secondary
#CEAF8F
accent
#9549DF
background
#F8FAFD
surface
#F0F3FA
border
#CBCDD3
text
#0C0F14
muted
#7D7F83

Preview Lab

Preview with #3A7FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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