#3A6797#3A6797

#3A6797 is a mid, moderate cyan. Relative luminance 0.128; OKLCH L 50.4% C 0.092 H 251.5°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#3A6797
RGBrgb(58, 103, 151)
HSLhsl(211, 44%, 41%)
HSVhsv(211, 62%, 59%)
CMYKcmyk(61.6%, 31.8%, 0%, 40.8%)
CIE-LABlab(42.51, -0.13, -30.84)
CIE-LCHlch(42.51, 30.84, 269.76°)
OKLaboklab(50.38% -0.0292 -0.087)
OKLCHoklch(50.38% 0.092 251.5)
XYZxyz(12.1791, 12.8333, 31.1074)
Luminance0.1283 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6797 #976A3A
analogous
#3A9597 #3A6797 #3B3A97
triadic
#3A6797 #973A67 #67973A
tetradic
#3A6797 #973A95 #976A3A #3A973B
square
#3A6797 #973A95 #976A3A #3A973B
split-complementary
#3A6797 #973B3A #95973A
monochromatic
#182B3F #29496B #3A6797 #5285BC #7EA4CD

Accessibility & contrast

On white

5.89
#3A6797 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#3A6797 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6797
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6797#FFFFFF#000000##FFFFFF
##3A67971.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a6797;
/* rgb */ color: rgb(58, 103, 151);
/* oklch */ color: oklch(50.4% 0.092 251.5);
Tailwind
colors: {
  custom: {
    50: '#7992b6',
    500: '#3a6797',
    950: '#000000',
  },
}
SCSS
$custom: #3a6797;
$custom-light: #7992b6;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6797",
  "rgb": {
    "r": 58,
    "g": 103,
    "b": 151
  },
  "hsl": {
    "h": 210.968,
    "s": 44.498,
    "l": 40.98
  },
  "oklch": {
    "l": 0.50376,
    "c": 0.09179,
    "h": 251.5
  },
  "luminance": 0.12834
}

Semantic roles & 50–950 ramp

primary
#3A6797
secondary
#B79776
accent
#9654D4
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#0A0C11
muted
#7C7D80

Preview Lab

Preview with #3A6797

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

Preview Lab → · Contrast checker → · Palette generator →

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