#3A6786#3A6786

#3A6786 is a mid, moderate cyan. Relative luminance 0.123; OKLCH L 49.5% C 0.070 H 240.3°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#3A6786
RGBrgb(58, 103, 134)
HSLhsl(204, 40%, 38%)
HSVhsv(204, 57%, 53%)
CMYKcmyk(56.7%, 23.1%, 0%, 47.5%)
CIE-LABlab(41.72, -5.90, -21.88)
CIE-LCHlch(41.72, 22.67, 254.91°)
OKLaboklab(49.49% -0.0348 -0.0612)
OKLCHoklch(49.49% 0.07 240.3)
XYZxyz(10.8967, 12.3203, 24.3535)
Luminance0.1232 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6786 #86593A
analogous
#3A867F #3A6786 #3A4186
triadic
#3A6786 #863A67 #67863A
tetradic
#3A6786 #7F3A86 #86593A #41863A
square
#3A6786 #7F3A86 #86593A #41863A
split-complementary
#3A6786 #863A41 #867F3A
monochromatic
#152531 #28465B #3A6786 #4C88B1 #76A4C4

Accessibility & contrast

On white

6.06
#3A6786 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#3A6786 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6786
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6786#FFFFFF#000000##FFFFFF
##3A67861.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#596787
Deuteranopia (green-blind)
#4F5F85
Tritanopia (blue-blind)
#006F71
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #3a6786;
/* rgb */ color: rgb(58, 103, 134);
/* oklch */ color: oklch(49.5% 0.070 240.3);
Tailwind
colors: {
  custom: {
    50: '#7692a9',
    500: '#3a6786',
    950: '#000000',
  },
}
SCSS
$custom: #3a6786;
$custom-light: #7692a9;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6786",
  "rgb": {
    "r": 58,
    "g": 103,
    "b": 134
  },
  "hsl": {
    "h": 204.474,
    "s": 39.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.49493,
    "c": 0.07039,
    "h": 240.3
  },
  "luminance": 0.12321
}

Semantic roles & 50–950 ramp

primary
#3A6786
secondary
#AD886F
accent
#8958CF
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#090D10
muted
#7B7D7F

Preview Lab

Preview with #3A6786

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

Preview Lab → · Contrast checker → · Palette generator →

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