#3A6BC7#3A6BC7

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

Color values

HEX#3A6BC7
RGBrgb(58, 107, 199)
HSLhsl(219, 56%, 50%)
HSVhsv(219, 71%, 78%)
CMYKcmyk(70.9%, 46.2%, 0%, 22%)
CIE-LABlab(46.36, 14.61, -52.83)
CIE-LCHlch(46.36, 54.81, 285.46°)
OKLaboklab(54.24% -0.0222 -0.1514)
OKLCHoklch(54.24% 0.153 261.6)
XYZxyz(17.3077, 15.5366, 56.1085)
Luminance0.1554 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6BC7 #C7963A
analogous
#3AB1C7 #3A6BC7 #4F3AC7
triadic
#3A6BC7 #C73A6B #6BC73A
tetradic
#3A6BC7 #C73AB1 #C7963A #3AC74F
square
#3A6BC7 #C73AB1 #C7963A #3AC74F
split-complementary
#3A6BC7 #C74F3A #B1C73A
monochromatic
#1E3869 #2B5198 #3A6BC7 #6A8FD5 #99B3E2

Accessibility & contrast

On white

5.11
#3A6BC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#3A6BC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6BC7
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6BC7#FFFFFF#000000##FFFFFF
##3A6BC71.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B75CA
Deuteranopia (green-blind)
#1C68C5
Tritanopia (blue-blind)
#00818F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #3a6bc7;
/* rgb */ color: rgb(58, 107, 199);
/* oklch */ color: oklch(54.2% 0.153 261.6);
Tailwind
colors: {
  custom: {
    50: '#8194d8',
    500: '#3a6bc7',
    950: '#000000',
  },
}
SCSS
$custom: #3a6bc7;
$custom-light: #8194d8;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6bc7",
  "rgb": {
    "r": 58,
    "g": 107,
    "b": 199
  },
  "hsl": {
    "h": 219.149,
    "s": 55.731,
    "l": 50.392
  },
  "oklch": {
    "l": 0.54237,
    "c": 0.15298,
    "h": 261.6
  },
  "luminance": 0.15538
}

Semantic roles & 50–950 ramp

primary
#3A6BC7
secondary
#CEB88F
accent
#AB49DF
background
#F8F9FD
surface
#F0F1FA
border
#CBCBD3
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #3A6BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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