#3A6789#3A6789

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

Color values

HEX#3A6789
RGBrgb(58, 103, 137)
HSLhsl(206, 41%, 38%)
HSVhsv(206, 58%, 54%)
CMYKcmyk(57.7%, 24.8%, 0%, 46.3%)
CIE-LABlab(41.85, -4.90, -23.49)
CIE-LCHlch(41.85, 23.99, 258.21°)
OKLaboklab(49.64% -0.0338 -0.0658)
OKLCHoklch(49.64% 0.074 242.8)
XYZxyz(11.1089, 12.4052, 25.4711)
Luminance0.1241 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6789 #895C3A
analogous
#3A8983 #3A6789 #3A3F89
triadic
#3A6789 #893A67 #67893A
tetradic
#3A6789 #833A89 #895C3A #3F893A
square
#3A6789 #833A89 #895C3A #3F893A
split-complementary
#3A6789 #893A3F #89833A
monochromatic
#162633 #28475E #3A6789 #4D87B4 #78A4C6

Accessibility & contrast

On white

6.03
#3A6789 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3A6789
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6789#FFFFFF#000000##FFFFFF
##3A67891.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#58678B
Deuteranopia (green-blind)
#4E5F88
Tritanopia (blue-blind)
#006F73
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #3a6789;
/* rgb */ color: rgb(58, 103, 137);
/* oklch */ color: oklch(49.6% 0.074 242.8);
Tailwind
colors: {
  custom: {
    50: '#7792ab',
    500: '#3a6789',
    950: '#000000',
  },
}
SCSS
$custom: #3a6789;
$custom-light: #7792ab;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6789",
  "rgb": {
    "r": 58,
    "g": 103,
    "b": 137
  },
  "hsl": {
    "h": 205.823,
    "s": 40.513,
    "l": 38.235
  },
  "oklch": {
    "l": 0.49641,
    "c": 0.07392,
    "h": 242.8
  },
  "luminance": 0.12406
}

Semantic roles & 50–950 ramp

primary
#3A6789
secondary
#AF8B70
accent
#8B57D0
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#090D10
muted
#7B7D7F

Preview Lab

Preview with #3A6789

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

Preview Lab → · Contrast checker → · Palette generator →

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