#3A6DC2#3A6DC2

#3A6DC2 is a mid, vivid blue. Relative luminance 0.157; OKLCH L 54.3% C 0.144 H 260.0°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#3A6DC2
RGBrgb(58, 109, 194)
HSLhsl(218, 54%, 49%)
HSVhsv(218, 70%, 76%)
CMYKcmyk(70.1%, 43.8%, 0%, 23.9%)
CIE-LABlab(46.62, 11.52, -49.53)
CIE-LCHlch(46.62, 50.85, 283.09°)
OKLaboklab(54.34% -0.0249 -0.1416)
OKLCHoklch(54.34% 0.144 260)
XYZxyz(16.9477, 15.7301, 53.1715)
Luminance0.1573 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6DC2 #C28F3A
analogous
#3AB1C2 #3A6DC2 #4B3AC2
triadic
#3A6DC2 #C23A6D #6DC23A
tetradic
#3A6DC2 #C23AB1 #C28F3A #3AC24B
square
#3A6DC2 #C23AB1 #C28F3A #3AC24B
split-complementary
#3A6DC2 #C24B3A #B1C23A
monochromatic
#1E3864 #2C5393 #3A6DC2 #678FD2 #97B2E0

Accessibility & contrast

On white

5.06
#3A6DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#3A6DC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6DC2
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6DC2#FFFFFF#000000##FFFFFF
##3A6DC21.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4375C5
Deuteranopia (green-blind)
#2B69C0
Tritanopia (blue-blind)
#00818E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #3a6dc2;
/* rgb */ color: rgb(58, 109, 194);
/* oklch */ color: oklch(54.3% 0.144 260.0);
Tailwind
colors: {
  custom: {
    50: '#8096d5',
    500: '#3a6dc2',
    950: '#000000',
  },
}
SCSS
$custom: #3a6dc2;
$custom-light: #8096d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6dc2",
  "rgb": {
    "r": 58,
    "g": 109,
    "b": 194
  },
  "hsl": {
    "h": 217.5,
    "s": 53.968,
    "l": 49.412
  },
  "oklch": {
    "l": 0.54338,
    "c": 0.14381,
    "h": 260
  },
  "luminance": 0.15732
}

Semantic roles & 50–950 ramp

primary
#3A6DC2
secondary
#CBB48D
accent
#A64ADD
background
#F8F9FD
surface
#F0F1FA
border
#CBCBD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #3A6DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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