#3A6EC4#3A6EC4

#3A6EC4 is a mid, vivid blue. Relative luminance 0.160; OKLCH L 54.7% C 0.145 H 259.9°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#3A6EC4
RGBrgb(58, 110, 196)
HSLhsl(217, 54%, 50%)
HSVhsv(217, 70%, 77%)
CMYKcmyk(70.4%, 43.9%, 0%, 23.1%)
CIE-LABlab(47.02, 11.62, -50.04)
CIE-LCHlch(47.02, 51.37, 283.07°)
OKLaboklab(54.69% -0.0255 -0.1431)
OKLCHoklch(54.69% 0.145 259.9)
XYZxyz(17.2811, 16.0351, 54.3982)
Luminance0.1604 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6EC4 #C4903A
analogous
#3AB3C4 #3A6EC4 #4B3AC4
triadic
#3A6EC4 #C43A6E #6EC43A
tetradic
#3A6EC4 #C43AB3 #C4903A #3AC44B
square
#3A6EC4 #C43AB3 #C4903A #3AC44B
split-complementary
#3A6EC4 #C44B3A #B3C43A
monochromatic
#1E3966 #2C5395 #3A6EC4 #6991D3 #98B3E0

Accessibility & contrast

On white

4.99
#3A6EC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#3A6EC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6EC4
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6EC4#FFFFFF#000000##FFFFFF
##3A6EC41.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4476C7
Deuteranopia (green-blind)
#2B6AC2
Tritanopia (blue-blind)
#00828F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #3a6ec4;
/* rgb */ color: rgb(58, 110, 196);
/* oklch */ color: oklch(54.7% 0.145 259.9);
Tailwind
colors: {
  custom: {
    50: '#8097d6',
    500: '#3a6ec4',
    950: '#000000',
  },
}
SCSS
$custom: #3a6ec4;
$custom-light: #8097d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6ec4",
  "rgb": {
    "r": 58,
    "g": 110,
    "b": 196
  },
  "hsl": {
    "h": 217.391,
    "s": 54.331,
    "l": 49.804
  },
  "oklch": {
    "l": 0.54687,
    "c": 0.14537,
    "h": 259.9
  },
  "luminance": 0.16037
}

Semantic roles & 50–950 ramp

primary
#3A6EC4
secondary
#CCB58E
accent
#A64ADE
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #3A6EC4

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

Preview Lab → · Contrast checker → · Palette generator →

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