#3A6796#3A6796

#3A6796 is a mid, moderate cyan. Relative luminance 0.128; OKLCH L 50.3% C 0.090 H 251.0°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#3A6796
RGBrgb(58, 103, 150)
HSLhsl(211, 44%, 41%)
HSVhsv(211, 61%, 59%)
CMYKcmyk(61.3%, 31.3%, 0%, 41.2%)
CIE-LABlab(42.46, -0.47, -30.32)
CIE-LCHlch(42.46, 30.33, 269.10°)
OKLaboklab(50.32% -0.0295 -0.0855)
OKLCHoklch(50.32% 0.09 251)
XYZxyz(12.0982, 12.8009, 30.6815)
Luminance0.1280 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6796 #96693A
analogous
#3A9596 #3A6796 #3B3A96
triadic
#3A6796 #963A67 #67963A
tetradic
#3A6796 #963A95 #96693A #3A963B
square
#3A6796 #963A95 #96693A #3A963B
split-complementary
#3A6796 #963B3A #95963A
monochromatic
#182A3E #29496A #3A6796 #5185BC #7DA4CD

Accessibility & contrast

On white

5.90
#3A6796 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#3A6796 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6796
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6796#FFFFFF#000000##FFFFFF
##3A67961.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#536998
Deuteranopia (green-blind)
#476095
Tritanopia (blue-blind)
#007278
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3a6796;
/* rgb */ color: rgb(58, 103, 150);
/* oklch */ color: oklch(50.3% 0.090 251.0);
Tailwind
colors: {
  custom: {
    50: '#7892b5',
    500: '#3a6796',
    950: '#000000',
  },
}
SCSS
$custom: #3a6796;
$custom-light: #7892b5;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6796",
  "rgb": {
    "r": 58,
    "g": 103,
    "b": 150
  },
  "hsl": {
    "h": 210.652,
    "s": 44.231,
    "l": 40.784
  },
  "oklch": {
    "l": 0.50321,
    "c": 0.09045,
    "h": 251
  },
  "luminance": 0.12802
}

Semantic roles & 50–950 ramp

primary
#3A6796
secondary
#B69775
accent
#9554D4
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#0A0C11
muted
#7C7D80

Preview Lab

Preview with #3A6796

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

Preview Lab → · Contrast checker → · Palette generator →

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