#3A6799#3A6799

#3A6799 is a mid, moderate cyan. Relative luminance 0.129; OKLCH L 50.5% C 0.094 H 252.4°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#3A6799
RGBrgb(58, 103, 153)
HSLhsl(212, 45%, 41%)
HSVhsv(212, 62%, 60%)
CMYKcmyk(62.1%, 32.7%, 0%, 40%)
CIE-LABlab(42.61, 0.57, -31.88)
CIE-LCHlch(42.61, 31.88, 271.02°)
OKLaboklab(50.49% -0.0286 -0.09)
OKLCHoklch(50.49% 0.094 252.4)
XYZxyz(12.3429, 12.8988, 31.9701)
Luminance0.1290 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6799 #996C3A
analogous
#3A9799 #3A6799 #3D3A99
triadic
#3A6799 #993A67 #67993A
tetradic
#3A6799 #993A97 #996C3A #3A993D
square
#3A6799 #993A97 #996C3A #3A993D
split-complementary
#3A6799 #993D3A #97993A
monochromatic
#182B40 #29496D #3A6799 #5385BE #7FA5CE

Accessibility & contrast

On white

5.87
#3A6799 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#3A6799 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6799
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6799#FFFFFF#000000##FFFFFF
##3A67991.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#526A9B
Deuteranopia (green-blind)
#456098
Tritanopia (blue-blind)
#007379
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3a6799;
/* rgb */ color: rgb(58, 103, 153);
/* oklch */ color: oklch(50.5% 0.094 252.4);
Tailwind
colors: {
  custom: {
    50: '#7992b7',
    500: '#3a6799',
    950: '#000000',
  },
}
SCSS
$custom: #3a6799;
$custom-light: #7992b7;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6799",
  "rgb": {
    "r": 58,
    "g": 103,
    "b": 153
  },
  "hsl": {
    "h": 211.579,
    "s": 45.024,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50486,
    "c": 0.09446,
    "h": 252.4
  },
  "luminance": 0.129
}

Semantic roles & 50–950 ramp

primary
#3A6799
secondary
#B89977
accent
#9753D5
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#0A0C11
muted
#7C7D80

Preview Lab

Preview with #3A6799

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

Preview Lab → · Contrast checker → · Palette generator →

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