#3A6DCA#3A6DCA

#3A6DCA is a mid, vivid blue. Relative luminance 0.161; OKLCH L 54.9% C 0.155 H 261.3°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#3A6DCA
RGBrgb(58, 109, 202)
HSLhsl(219, 58%, 51%)
HSVhsv(219, 71%, 79%)
CMYKcmyk(71.3%, 46%, 0%, 20.8%)
CIE-LABlab(47.10, 14.44, -53.35)
CIE-LCHlch(47.10, 55.27, 285.14°)
OKLaboklab(54.87% -0.0235 -0.1529)
OKLCHoklch(54.87% 0.155 261.3)
XYZxyz(17.8704, 16.0992, 58.0313)
Luminance0.1610 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6DCA #CA973A
analogous
#3AB5CA #3A6DCA #4F3ACA
triadic
#3A6DCA #CA3A6D #6DCA3A
tetradic
#3A6DCA #CA3AB5 #CA973A #3ACA4F
square
#3A6DCA #CA3AB5 #CA973A #3ACA4F
split-complementary
#3A6DCA #CA4F3A #B5CA3A
monochromatic
#1D396C #2A539D #3A6DCA #6A91D7 #9AB4E4

Accessibility & contrast

On white

4.98
#3A6DCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#3A6DCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6DCA
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6DCA#FFFFFF#000000##FFFFFF
##3A6DCA1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D77CD
Deuteranopia (green-blind)
#1D6AC8
Tritanopia (blue-blind)
#008392
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #3a6dca;
/* rgb */ color: rgb(58, 109, 202);
/* oklch */ color: oklch(54.9% 0.155 261.3);
Tailwind
colors: {
  custom: {
    50: '#8296db',
    500: '#3a6dca',
    950: '#000000',
  },
}
SCSS
$custom: #3a6dca;
$custom-light: #8296db;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6dca",
  "rgb": {
    "r": 58,
    "g": 109,
    "b": 202
  },
  "hsl": {
    "h": 218.75,
    "s": 57.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.54869,
    "c": 0.15468,
    "h": 261.3
  },
  "luminance": 0.16101
}

Semantic roles & 50–950 ramp

primary
#3A6DCA
secondary
#D0B990
accent
#AA47E1
background
#F8F9FD
surface
#F0F1FB
border
#CBCBD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #3A6DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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