#3A6798#3A6798

#3A6798 is a mid, moderate cyan. Relative luminance 0.129; OKLCH L 50.4% C 0.093 H 251.9°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#3A6798
RGBrgb(58, 103, 152)
HSLhsl(211, 45%, 41%)
HSVhsv(211, 62%, 60%)
CMYKcmyk(61.8%, 32.2%, 0%, 40.4%)
CIE-LABlab(42.56, 0.22, -31.36)
CIE-LCHlch(42.56, 31.36, 270.40°)
OKLaboklab(50.43% -0.0289 -0.0885)
OKLCHoklch(50.43% 0.093 251.9)
XYZxyz(12.2606, 12.8659, 31.5369)
Luminance0.1287 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6798 #986B3A
analogous
#3A9698 #3A6798 #3C3A98
triadic
#3A6798 #983A67 #67983A
tetradic
#3A6798 #983A96 #986B3A #3A983C
square
#3A6798 #983A96 #986B3A #3A983C
split-complementary
#3A6798 #983C3A #96983A
monochromatic
#182B3F #29496C #3A6798 #5285BD #7EA5CE

Accessibility & contrast

On white

5.88
#3A6798 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3A6798
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6798#FFFFFF#000000##FFFFFF
##3A67981.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52699A
Deuteranopia (green-blind)
#466097
Tritanopia (blue-blind)
#007278
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3a6798;
/* rgb */ color: rgb(58, 103, 152);
/* oklch */ color: oklch(50.4% 0.093 251.9);
Tailwind
colors: {
  custom: {
    50: '#7992b6',
    500: '#3a6798',
    950: '#000000',
  },
}
SCSS
$custom: #3a6798;
$custom-light: #7992b6;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6798",
  "rgb": {
    "r": 58,
    "g": 103,
    "b": 152
  },
  "hsl": {
    "h": 211.277,
    "s": 44.762,
    "l": 41.176
  },
  "oklch": {
    "l": 0.50431,
    "c": 0.09312,
    "h": 251.9
  },
  "luminance": 0.12867
}

Semantic roles & 50–950 ramp

primary
#3A6798
secondary
#B89876
accent
#9753D4
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#0A0C11
muted
#7C7D80

Preview Lab

Preview with #3A6798

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

Preview Lab → · Contrast checker → · Palette generator →

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