#3A6FC2#3A6FC2

#3A6FC2 is a mid, vivid blue. Relative luminance 0.162; OKLCH L 54.8% C 0.141 H 259.1°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#3A6FC2
RGBrgb(58, 111, 194)
HSLhsl(217, 54%, 49%)
HSVhsv(217, 70%, 76%)
CMYKcmyk(70.1%, 42.8%, 0%, 23.9%)
CIE-LABlab(47.19, 10.26, -48.63)
CIE-LCHlch(47.19, 49.70, 281.91°)
OKLaboklab(54.78% -0.0268 -0.1389)
OKLCHoklch(54.78% 0.142 259.1)
XYZxyz(17.1635, 16.1617, 53.2434)
Luminance0.1616 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6FC2 #C28D3A
analogous
#3AB3C2 #3A6FC2 #493AC2
triadic
#3A6FC2 #C23A6F #6FC23A
tetradic
#3A6FC2 #C23AB3 #C28D3A #3AC249
square
#3A6FC2 #C23AB3 #C28D3A #3AC249
split-complementary
#3A6FC2 #C2493A #B3C23A
monochromatic
#1E3964 #2C5493 #3A6FC2 #6791D2 #97B3E0

Accessibility & contrast

On white

4.96
#3A6FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#3A6FC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6FC2
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6FC2#FFFFFF#000000##FFFFFF
##3A6FC21.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4777C5
Deuteranopia (green-blind)
#306AC0
Tritanopia (blue-blind)
#00828F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #3a6fc2;
/* rgb */ color: rgb(58, 111, 194);
/* oklch */ color: oklch(54.8% 0.141 259.1);
Tailwind
colors: {
  custom: {
    50: '#8097d5',
    500: '#3a6fc2',
    950: '#000000',
  },
}
SCSS
$custom: #3a6fc2;
$custom-light: #8097d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6fc2",
  "rgb": {
    "r": 58,
    "g": 111,
    "b": 194
  },
  "hsl": {
    "h": 216.618,
    "s": 53.968,
    "l": 49.412
  },
  "oklch": {
    "l": 0.54776,
    "c": 0.1415,
    "h": 259.1
  },
  "luminance": 0.16163
}

Semantic roles & 50–950 ramp

primary
#3A6FC2
secondary
#CBB38D
accent
#A44ADD
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #3A6FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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