#3A6793#3A6793

#3A6793 is a mid, moderate cyan. Relative luminance 0.127; OKLCH L 50.2% C 0.087 H 249.4°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#3A6793
RGBrgb(58, 103, 147)
HSLhsl(210, 43%, 40%)
HSVhsv(210, 61%, 58%)
CMYKcmyk(60.5%, 29.9%, 0%, 42.4%)
CIE-LABlab(42.32, -1.51, -28.76)
CIE-LCHlch(42.32, 28.80, 266.99°)
OKLaboklab(50.16% -0.0304 -0.081)
OKLCHoklch(50.16% 0.087 249.4)
XYZxyz(11.8597, 12.7056, 29.4255)
Luminance0.1271 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6793 #93663A
analogous
#3A9393 #3A6793 #3A3A93
triadic
#3A6793 #933A67 #67933A
tetradic
#3A6793 #933A93 #93663A #3A933A
square
#3A6793 #933A93 #93663A #3A933A
split-complementary
#3A6793 #933A3A #93933A
monochromatic
#172A3B #294867 #3A6793 #5086BA #7CA4CB

Accessibility & contrast

On white

5.93
#3A6793 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#3A6793 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6793
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6793#FFFFFF#000000##FFFFFF
##3A67931.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#546995
Deuteranopia (green-blind)
#496092
Tritanopia (blue-blind)
#007176
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3a6793;
/* rgb */ color: rgb(58, 103, 147);
/* oklch */ color: oklch(50.2% 0.087 249.4);
Tailwind
colors: {
  custom: {
    50: '#7892b3',
    500: '#3a6793',
    950: '#000000',
  },
}
SCSS
$custom: #3a6793;
$custom-light: #7892b3;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6793",
  "rgb": {
    "r": 58,
    "g": 103,
    "b": 147
  },
  "hsl": {
    "h": 209.663,
    "s": 43.415,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50159,
    "c": 0.08651,
    "h": 249.4
  },
  "luminance": 0.12707
}

Semantic roles & 50–950 ramp

primary
#3A6793
secondary
#B59474
accent
#9355D3
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#090C11
muted
#7B7D80

Preview Lab

Preview with #3A6793

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

Preview Lab → · Contrast checker → · Palette generator →

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