#3A6781#3A6781

#3A6781 is a mid, moderate cyan. Relative luminance 0.122; OKLCH L 49.3% C 0.065 H 235.5°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#3A6781
RGBrgb(58, 103, 129)
HSLhsl(202, 38%, 37%)
HSVhsv(202, 55%, 51%)
CMYKcmyk(55%, 20.2%, 0%, 49.4%)
CIE-LABlab(41.51, -7.54, -19.20)
CIE-LCHlch(41.51, 20.62, 248.57°)
OKLaboklab(49.25% -0.0367 -0.0535)
OKLCHoklch(49.25% 0.065 235.5)
XYZxyz(10.5562, 12.1841, 22.5601)
Luminance0.1218 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6781 #81543A
analogous
#3A8178 #3A6781 #3A4481
triadic
#3A6781 #813A67 #67813A
tetradic
#3A6781 #783A81 #81543A #44813A
square
#3A6781 #783A81 #81543A #44813A
split-complementary
#3A6781 #813A44 #81783A
monochromatic
#14242D #274557 #3A6781 #4D89AB #75A5C1

Accessibility & contrast

On white

6.11
#3A6781 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#3A6781 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6781
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6781#FFFFFF#000000##FFFFFF
##3A67811.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B6682
Deuteranopia (green-blind)
#515F81
Tritanopia (blue-blind)
#0B6E70
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #3a6781;
/* rgb */ color: rgb(58, 103, 129);
/* oklch */ color: oklch(49.3% 0.065 235.5);
Tailwind
colors: {
  custom: {
    50: '#7692a5',
    500: '#3a6781',
    950: '#000000',
  },
}
SCSS
$custom: #3a6781;
$custom-light: #7692a5;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6781",
  "rgb": {
    "r": 58,
    "g": 103,
    "b": 129
  },
  "hsl": {
    "h": 201.972,
    "s": 37.968,
    "l": 36.667
  },
  "oklch": {
    "l": 0.49253,
    "c": 0.06487,
    "h": 235.5
  },
  "luminance": 0.12185
}

Semantic roles & 50–950 ramp

primary
#3A6781
secondary
#AA836D
accent
#845ACE
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#090D0F
muted
#7B7D7F

Preview Lab

Preview with #3A6781

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

Preview Lab → · Contrast checker → · Palette generator →

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