#3A6787#3A6787

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

Color values

HEX#3A6787
RGBrgb(58, 103, 135)
HSLhsl(205, 40%, 38%)
HSVhsv(205, 57%, 53%)
CMYKcmyk(57%, 23.7%, 0%, 47.1%)
CIE-LABlab(41.76, -5.57, -22.42)
CIE-LCHlch(41.76, 23.10, 256.05°)
OKLaboklab(49.54% -0.0345 -0.0627)
OKLCHoklch(49.54% 0.072 241.2)
XYZxyz(10.9667, 12.3484, 24.7225)
Luminance0.1235 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6787 #875A3A
analogous
#3A8780 #3A6787 #3A4187
triadic
#3A6787 #873A67 #67873A
tetradic
#3A6787 #803A87 #875A3A #41873A
square
#3A6787 #803A87 #875A3A #41873A
split-complementary
#3A6787 #873A41 #87803A
monochromatic
#152631 #28465C #3A6787 #4C88B2 #77A4C5

Accessibility & contrast

On white

6.05
#3A6787 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#3A6787 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6787
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6787#FFFFFF#000000##FFFFFF
##3A67871.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#596789
Deuteranopia (green-blind)
#4E5F86
Tritanopia (blue-blind)
#006F72
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #3a6787;
/* rgb */ color: rgb(58, 103, 135);
/* oklch */ color: oklch(49.5% 0.072 241.2);
Tailwind
colors: {
  custom: {
    50: '#7692aa',
    500: '#3a6787',
    950: '#000000',
  },
}
SCSS
$custom: #3a6787;
$custom-light: #7692aa;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6787",
  "rgb": {
    "r": 58,
    "g": 103,
    "b": 135
  },
  "hsl": {
    "h": 204.935,
    "s": 39.896,
    "l": 37.843
  },
  "oklch": {
    "l": 0.49542,
    "c": 0.07155,
    "h": 241.2
  },
  "luminance": 0.12349
}

Semantic roles & 50–950 ramp

primary
#3A6787
secondary
#AE896F
accent
#8A58D0
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#090D10
muted
#7B7D7F

Preview Lab

Preview with #3A6787

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

Preview Lab → · Contrast checker → · Palette generator →

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