#3A6EC3#3A6EC3

#3A6EC3 is a mid, vivid blue. Relative luminance 0.160; OKLCH L 54.6% C 0.144 H 259.7°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#3A6EC3
RGBrgb(58, 110, 195)
HSLhsl(217, 54%, 50%)
HSVhsv(217, 70%, 76%)
CMYKcmyk(70.3%, 43.6%, 0%, 23.5%)
CIE-LABlab(46.96, 11.25, -49.56)
CIE-LCHlch(46.96, 50.82, 282.79°)
OKLaboklab(54.62% -0.0256 -0.1417)
OKLCHoklch(54.62% 0.144 259.7)
XYZxyz(17.1676, 15.9897, 53.8007)
Luminance0.1599 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6EC3 #C38F3A
analogous
#3AB3C3 #3A6EC3 #4A3AC3
triadic
#3A6EC3 #C33A6E #6EC33A
tetradic
#3A6EC3 #C33AB3 #C38F3A #3AC34A
square
#3A6EC3 #C33AB3 #C38F3A #3AC34A
split-complementary
#3A6EC3 #C34A3A #B3C33A
monochromatic
#1E3965 #2C5394 #3A6EC3 #6890D2 #97B3E0

Accessibility & contrast

On white

5.00
#3A6EC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#3A6EC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6EC3
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6EC3#FFFFFF#000000##FFFFFF
##3A6EC31.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4576C6
Deuteranopia (green-blind)
#2C69C1
Tritanopia (blue-blind)
#00828F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #3a6ec3;
/* rgb */ color: rgb(58, 110, 195);
/* oklch */ color: oklch(54.6% 0.144 259.7);
Tailwind
colors: {
  custom: {
    50: '#8097d6',
    500: '#3a6ec3',
    950: '#000000',
  },
}
SCSS
$custom: #3a6ec3;
$custom-light: #8097d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6ec3",
  "rgb": {
    "r": 58,
    "g": 110,
    "b": 195
  },
  "hsl": {
    "h": 217.226,
    "s": 54.15,
    "l": 49.608
  },
  "oklch": {
    "l": 0.54621,
    "c": 0.14401,
    "h": 259.7
  },
  "luminance": 0.15992
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A6EC3

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

Preview Lab → · Contrast checker → · Palette generator →

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