#3A7FA6#3A7FA6

#3A7FA6 is a mid, moderate cyan. Relative luminance 0.188; OKLCH L 56.9% C 0.092 H 236.3°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#3A7FA6
RGBrgb(58, 127, 166)
HSLhsl(202, 48%, 44%)
HSVhsv(202, 65%, 65%)
CMYKcmyk(65.1%, 23.5%, 0%, 34.9%)
CIE-LABlab(50.49, -9.28, -27.22)
CIE-LCHlch(50.49, 28.76, 251.18°)
OKLaboklab(56.9% -0.0509 -0.0764)
OKLCHoklch(56.9% 0.092 236.3)
XYZxyz(16.2146, 18.8298, 38.8490)
Luminance0.1883 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7FA6 #A6613A
analogous
#3AA697 #3A7FA6 #3A49A6
triadic
#3A7FA6 #A63A7F #7FA63A
tetradic
#3A7FA6 #973AA6 #A6613A #49A63A
square
#3A7FA6 #973AA6 #A6613A #49A63A
split-complementary
#3A7FA6 #A63A49 #A6973A
monochromatic
#1A3A4B #2A5C79 #3A7FA6 #589EC5 #86B8D5

Accessibility & contrast

On white

4.41
#3A7FA6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A7FA6#FFFFFF#000000##000000
##3A7FA61.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D7EA8
Deuteranopia (green-blind)
#5E73A5
Tritanopia (blue-blind)
#00898C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #3a7fa6;
/* rgb */ color: rgb(58, 127, 166);
/* oklch */ color: oklch(56.9% 0.092 236.3);
Tailwind
colors: {
  custom: {
    50: '#7ba4c0',
    500: '#3a7fa6',
    950: '#000000',
  },
}
SCSS
$custom: #3a7fa6;
$custom-light: #7ba4c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7fa6",
  "rgb": {
    "r": 58,
    "g": 127,
    "b": 166
  },
  "hsl": {
    "h": 201.667,
    "s": 48.214,
    "l": 43.922
  },
  "oklch": {
    "l": 0.56903,
    "c": 0.09178,
    "h": 236.3
  },
  "luminance": 0.18831
}

Semantic roles & 50–950 ramp

primary
#3A7FA6
secondary
#BF957D
accent
#8150D8
background
#F8FAFB
surface
#EFF4F7
border
#CACED0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #3A7FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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