#3A6788#3A6788

#3A6788 is a mid, moderate cyan. Relative luminance 0.124; OKLCH L 49.6% C 0.073 H 242.0°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#3A6788
RGBrgb(58, 103, 136)
HSLhsl(205, 40%, 38%)
HSVhsv(205, 57%, 53%)
CMYKcmyk(57.4%, 24.3%, 0%, 46.7%)
CIE-LABlab(41.81, -5.24, -22.95)
CIE-LCHlch(41.81, 23.54, 257.15°)
OKLaboklab(49.59% -0.0341 -0.0642)
OKLCHoklch(49.59% 0.073 242)
XYZxyz(11.0375, 12.3767, 25.0951)
Luminance0.1238 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6788 #885B3A
analogous
#3A8882 #3A6788 #3A4088
triadic
#3A6788 #883A67 #67883A
tetradic
#3A6788 #823A88 #885B3A #40883A
square
#3A6788 #823A88 #885B3A #40883A
split-complementary
#3A6788 #883A40 #88823A
monochromatic
#152632 #28475D #3A6788 #4C87B3 #77A4C5

Accessibility & contrast

On white

6.04
#3A6788 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#3A6788 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6788
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6788#FFFFFF#000000##FFFFFF
##3A67881.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#59678A
Deuteranopia (green-blind)
#4E5F87
Tritanopia (blue-blind)
#006F72
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #3a6788;
/* rgb */ color: rgb(58, 103, 136);
/* oklch */ color: oklch(49.6% 0.073 242.0);
Tailwind
colors: {
  custom: {
    50: '#7692aa',
    500: '#3a6788',
    950: '#000000',
  },
}
SCSS
$custom: #3a6788;
$custom-light: #7692aa;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6788",
  "rgb": {
    "r": 58,
    "g": 103,
    "b": 136
  },
  "hsl": {
    "h": 205.385,
    "s": 40.206,
    "l": 38.039
  },
  "oklch": {
    "l": 0.49591,
    "c": 0.07272,
    "h": 242
  },
  "luminance": 0.12378
}

Semantic roles & 50–950 ramp

primary
#3A6788
secondary
#AE8A6F
accent
#8B58D0
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#090D10
muted
#7B7D7F

Preview Lab

Preview with #3A6788

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

Preview Lab → · Contrast checker → · Palette generator →

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