#3A7186#3A7186

#3A7186 is a mid, moderate cyan. Relative luminance 0.144; OKLCH L 52.0% C 0.067 H 225.3°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#3A7186
RGBrgb(58, 113, 134)
HSLhsl(197, 40%, 38%)
HSVhsv(197, 57%, 53%)
CMYKcmyk(56.7%, 15.7%, 0%, 47.5%)
CIE-LABlab(44.84, -11.76, -17.08)
CIE-LCHlch(44.84, 20.74, 235.45°)
OKLaboklab(51.97% -0.047 -0.0475)
OKLCHoklch(51.97% 0.067 225.3)
XYZxyz(11.9515, 14.4299, 24.7051)
Luminance0.1443 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7186 #864F3A
analogous
#3A8675 #3A7186 #3A4B86
triadic
#3A7186 #863A71 #71863A
tetradic
#3A7186 #753A86 #864F3A #4B863A
square
#3A7186 #753A86 #864F3A #4B863A
split-complementary
#3A7186 #863A4B #86753A
monochromatic
#152931 #284D5B #3A7186 #4C95B1 #76AFC4

Accessibility & contrast

On white

5.40
#3A7186 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#3A7186 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A7186
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7186#FFFFFF#000000##FFFFFF
##3A71861.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#656F87
Deuteranopia (green-blind)
#5A6686
Tritanopia (blue-blind)
#007778
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #3a7186;
/* rgb */ color: rgb(58, 113, 134);
/* oklch */ color: oklch(52.0% 0.067 225.3);
Tailwind
colors: {
  custom: {
    50: '#7799a9',
    500: '#3a7186',
    950: '#000000',
  },
}
SCSS
$custom: #3a7186;
$custom-light: #7799a9;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7186",
  "rgb": {
    "r": 58,
    "g": 113,
    "b": 134
  },
  "hsl": {
    "h": 196.579,
    "s": 39.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.51974,
    "c": 0.06681,
    "h": 225.3
  },
  "luminance": 0.14431
}

Semantic roles & 50–950 ramp

primary
#3A7186
secondary
#AD806F
accent
#7958CF
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#090E0F
muted
#7B7E7F

Preview Lab

Preview with #3A7186

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

Preview Lab → · Contrast checker → · Palette generator →

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