#3A6BC5#3A6BC5

#3A6BC5 is a mid, vivid blue. Relative luminance 0.154; OKLCH L 54.1% C 0.150 H 261.4°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#3A6BC5
RGBrgb(58, 107, 197)
HSLhsl(219, 55%, 50%)
HSVhsv(219, 71%, 77%)
CMYKcmyk(70.6%, 45.7%, 0%, 22.7%)
CIE-LABlab(46.24, 13.88, -51.87)
CIE-LCHlch(46.24, 53.70, 284.98°)
OKLaboklab(54.1% -0.0225 -0.1485)
OKLCHoklch(54.1% 0.15 261.4)
XYZxyz(17.0771, 15.4444, 54.8936)
Luminance0.1545 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6BC5 #C5943A
analogous
#3AB0C5 #3A6BC5 #4F3AC5
triadic
#3A6BC5 #C53A6B #6BC53A
tetradic
#3A6BC5 #C53AB0 #C5943A #3AC54F
square
#3A6BC5 #C53AB0 #C5943A #3AC54F
split-complementary
#3A6BC5 #C54F3A #B0C53A
monochromatic
#1E3866 #2C5196 #3A6BC5 #698FD3 #99B2E1

Accessibility & contrast

On white

5.14
#3A6BC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#3A6BC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6BC5
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6BC5#FFFFFF#000000##FFFFFF
##3A6BC51.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D74C8
Deuteranopia (green-blind)
#2068C3
Tritanopia (blue-blind)
#00808E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #3a6bc5;
/* rgb */ color: rgb(58, 107, 197);
/* oklch */ color: oklch(54.1% 0.150 261.4);
Tailwind
colors: {
  custom: {
    50: '#8194d7',
    500: '#3a6bc5',
    950: '#000000',
  },
}
SCSS
$custom: #3a6bc5;
$custom-light: #8194d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6bc5",
  "rgb": {
    "r": 58,
    "g": 107,
    "b": 197
  },
  "hsl": {
    "h": 218.849,
    "s": 54.51,
    "l": 50
  },
  "oklch": {
    "l": 0.54102,
    "c": 0.15025,
    "h": 261.4
  },
  "luminance": 0.15446
}

Semantic roles & 50–950 ramp

primary
#3A6BC5
secondary
#CDB78E
accent
#AA4ADE
background
#F8F9FD
surface
#F0F1FA
border
#CBCBD3
text
#0C0D14
muted
#7D7E83

Preview Lab

Preview with #3A6BC5

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

Preview Lab → · Contrast checker → · Palette generator →

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