#3A6EC2#3A6EC2

#3A6EC2 is a mid, vivid blue. Relative luminance 0.159; OKLCH L 54.6% C 0.143 H 259.6°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#3A6EC2
RGBrgb(58, 110, 194)
HSLhsl(217, 54%, 49%)
HSVhsv(217, 70%, 76%)
CMYKcmyk(70.1%, 43.3%, 0%, 23.9%)
CIE-LABlab(46.90, 10.89, -49.08)
CIE-LCHlch(46.90, 50.27, 282.51°)
OKLaboklab(54.56% -0.0258 -0.1403)
OKLCHoklch(54.56% 0.143 259.6)
XYZxyz(17.0550, 15.9447, 53.2073)
Luminance0.1595 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6EC2 #C28E3A
analogous
#3AB2C2 #3A6EC2 #4A3AC2
triadic
#3A6EC2 #C23A6E #6EC23A
tetradic
#3A6EC2 #C23AB2 #C28E3A #3AC24A
square
#3A6EC2 #C23AB2 #C28E3A #3AC24A
split-complementary
#3A6EC2 #C24A3A #B2C23A
monochromatic
#1E3964 #2C5393 #3A6EC2 #6790D2 #97B3E0

Accessibility & contrast

On white

5.01
#3A6EC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#3A6EC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6EC2
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6EC2#FFFFFF#000000##FFFFFF
##3A6EC21.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4576C5
Deuteranopia (green-blind)
#2D69C0
Tritanopia (blue-blind)
#00828E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #3a6ec2;
/* rgb */ color: rgb(58, 110, 194);
/* oklch */ color: oklch(54.6% 0.143 259.6);
Tailwind
colors: {
  custom: {
    50: '#8097d5',
    500: '#3a6ec2',
    950: '#000000',
  },
}
SCSS
$custom: #3a6ec2;
$custom-light: #8097d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6ec2",
  "rgb": {
    "r": 58,
    "g": 110,
    "b": 194
  },
  "hsl": {
    "h": 217.059,
    "s": 53.968,
    "l": 49.412
  },
  "oklch": {
    "l": 0.54557,
    "c": 0.14265,
    "h": 259.6
  },
  "luminance": 0.15946
}

Semantic roles & 50–950 ramp

primary
#3A6EC2
secondary
#CBB38D
accent
#A54ADD
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #3A6EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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