#3A6EC1#3A6EC1

#3A6EC1 is a mid, vivid blue. Relative luminance 0.159; OKLCH L 54.5% C 0.141 H 259.4°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#3A6EC1
RGBrgb(58, 110, 193)
HSLhsl(217, 54%, 49%)
HSVhsv(217, 70%, 76%)
CMYKcmyk(69.9%, 43%, 0%, 24.3%)
CIE-LABlab(46.84, 10.52, -48.60)
CIE-LCHlch(46.84, 49.72, 282.22°)
OKLaboklab(54.49% -0.026 -0.1389)
OKLCHoklch(54.49% 0.141 259.4)
XYZxyz(16.9430, 15.8999, 52.6178)
Luminance0.1590 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6EC1 #C18D3A
analogous
#3AB2C1 #3A6EC1 #4A3AC1
triadic
#3A6EC1 #C13A6E #6EC13A
tetradic
#3A6EC1 #C13AB2 #C18D3A #3AC14A
square
#3A6EC1 #C13AB2 #C18D3A #3AC14A
split-complementary
#3A6EC1 #C14A3A #B2C13A
monochromatic
#1E3863 #2C5392 #3A6EC1 #6790D1 #96B2DF

Accessibility & contrast

On white

5.02
#3A6EC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#3A6EC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6EC1
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6EC1#FFFFFF#000000##FFFFFF
##3A6EC11.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4676C4
Deuteranopia (green-blind)
#2F69BF
Tritanopia (blue-blind)
#00818E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #3a6ec1;
/* rgb */ color: rgb(58, 110, 193);
/* oklch */ color: oklch(54.5% 0.141 259.4);
Tailwind
colors: {
  custom: {
    50: '#8097d4',
    500: '#3a6ec1',
    950: '#000000',
  },
}
SCSS
$custom: #3a6ec1;
$custom-light: #8097d4;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6ec1",
  "rgb": {
    "r": 58,
    "g": 110,
    "b": 193
  },
  "hsl": {
    "h": 216.889,
    "s": 53.785,
    "l": 49.216
  },
  "oklch": {
    "l": 0.54492,
    "c": 0.1413,
    "h": 259.4
  },
  "luminance": 0.15902
}

Semantic roles & 50–950 ramp

primary
#3A6EC1
secondary
#CBB38C
accent
#A54BDD
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #3A6EC1

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

Preview Lab → · Contrast checker → · Palette generator →

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