#3A6BC6#3A6BC6

#3A6BC6 is a mid, vivid blue. Relative luminance 0.155; OKLCH L 54.2% C 0.152 H 261.5°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#3A6BC6
RGBrgb(58, 107, 198)
HSLhsl(219, 55%, 50%)
HSVhsv(219, 71%, 78%)
CMYKcmyk(70.7%, 46%, 0%, 22.4%)
CIE-LABlab(46.30, 14.24, -52.35)
CIE-LCHlch(46.30, 54.25, 285.22°)
OKLaboklab(54.17% -0.0224 -0.15)
OKLCHoklch(54.17% 0.152 261.5)
XYZxyz(17.1920, 15.4903, 55.4990)
Luminance0.1549 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6BC6 #C6953A
analogous
#3AB1C6 #3A6BC6 #4F3AC6
triadic
#3A6BC6 #C63A6B #6BC63A
tetradic
#3A6BC6 #C63AB1 #C6953A #3AC64F
square
#3A6BC6 #C63AB1 #C6953A #3AC64F
split-complementary
#3A6BC6 #C64F3A #B1C63A
monochromatic
#1E3868 #2C5197 #3A6BC6 #698FD4 #99B2E1

Accessibility & contrast

On white

5.12
#3A6BC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#3A6BC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6BC6
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6BC6#FFFFFF#000000##FFFFFF
##3A6BC61.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C75C9
Deuteranopia (green-blind)
#1F68C4
Tritanopia (blue-blind)
#00808F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #3a6bc6;
/* rgb */ color: rgb(58, 107, 198);
/* oklch */ color: oklch(54.2% 0.152 261.5);
Tailwind
colors: {
  custom: {
    50: '#8194d8',
    500: '#3a6bc6',
    950: '#000000',
  },
}
SCSS
$custom: #3a6bc6;
$custom-light: #8194d8;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6bc6",
  "rgb": {
    "r": 58,
    "g": 107,
    "b": 198
  },
  "hsl": {
    "h": 219,
    "s": 55.118,
    "l": 50.196
  },
  "oklch": {
    "l": 0.5417,
    "c": 0.15162,
    "h": 261.5
  },
  "luminance": 0.15492
}

Semantic roles & 50–950 ramp

primary
#3A6BC6
secondary
#CDB78F
accent
#AA49DE
background
#F8F9FD
surface
#F0F1FA
border
#CBCBD3
text
#0C0D14
muted
#7D7E83

Preview Lab

Preview with #3A6BC6

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

Preview Lab → · Contrast checker → · Palette generator →

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