#3A6BC2#3A6BC2

#3A6BC2 is a mid, vivid blue. Relative luminance 0.153; OKLCH L 53.9% C 0.146 H 260.9°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#3A6BC2
RGBrgb(58, 107, 194)
HSLhsl(218, 54%, 49%)
HSVhsv(218, 70%, 76%)
CMYKcmyk(70.1%, 44.8%, 0%, 23.9%)
CIE-LABlab(46.05, 12.78, -50.44)
CIE-LCHlch(46.05, 52.03, 284.22°)
OKLaboklab(53.9% -0.0231 -0.1443)
OKLCHoklch(53.9% 0.146 260.9)
XYZxyz(16.7367, 15.3082, 53.1012)
Luminance0.1531 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6BC2 #C2913A
analogous
#3AAFC2 #3A6BC2 #4D3AC2
triadic
#3A6BC2 #C23A6B #6BC23A
tetradic
#3A6BC2 #C23AAF #C2913A #3AC24D
square
#3A6BC2 #C23AAF #C2913A #3AC24D
split-complementary
#3A6BC2 #C24D3A #AFC23A
monochromatic
#1E3764 #2C5193 #3A6BC2 #678ED2 #97B1E0

Accessibility & contrast

On white

5.17
#3A6BC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#3A6BC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6BC2
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6BC2#FFFFFF#000000##FFFFFF
##3A6BC21.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4074C5
Deuteranopia (green-blind)
#2667C0
Tritanopia (blue-blind)
#007F8D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #3a6bc2;
/* rgb */ color: rgb(58, 107, 194);
/* oklch */ color: oklch(53.9% 0.146 260.9);
Tailwind
colors: {
  custom: {
    50: '#8094d5',
    500: '#3a6bc2',
    950: '#000000',
  },
}
SCSS
$custom: #3a6bc2;
$custom-light: #8094d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6bc2",
  "rgb": {
    "r": 58,
    "g": 107,
    "b": 194
  },
  "hsl": {
    "h": 218.382,
    "s": 53.968,
    "l": 49.412
  },
  "oklch": {
    "l": 0.53902,
    "c": 0.14616,
    "h": 260.9
  },
  "luminance": 0.1531
}

Semantic roles & 50–950 ramp

primary
#3A6BC2
secondary
#CBB58D
accent
#A84ADD
background
#F8F9FD
surface
#F0F1FA
border
#CBCBD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #3A6BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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