#3A6EC7#3A6EC7

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

Color values

HEX#3A6EC7
RGBrgb(58, 110, 199)
HSLhsl(218, 56%, 50%)
HSVhsv(218, 71%, 78%)
CMYKcmyk(70.9%, 44.7%, 0%, 22%)
CIE-LABlab(47.20, 12.71, -51.48)
CIE-LCHlch(47.20, 53.02, 283.87°)
OKLaboklab(54.88% -0.0249 -0.1473)
OKLCHoklch(54.88% 0.149 260.4)
XYZxyz(17.6260, 16.1731, 56.2145)
Luminance0.1618 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6EC7 #C7933A
analogous
#3AB5C7 #3A6EC7 #4C3AC7
triadic
#3A6EC7 #C73A6E #6EC73A
tetradic
#3A6EC7 #C73AB5 #C7933A #3AC74C
square
#3A6EC7 #C73AB5 #C7933A #3AC74C
split-complementary
#3A6EC7 #C74C3A #B5C73A
monochromatic
#1E3969 #2B5498 #3A6EC7 #6A91D5 #99B4E2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A6EC7#FFFFFF#000000##FFFFFF
##3A6EC71.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)
#4177CA
Deuteranopia (green-blind)
#266AC5
Tritanopia (blue-blind)
#008391
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #3a6ec7;
/* rgb */ color: rgb(58, 110, 199);
/* oklch */ color: oklch(54.9% 0.149 260.4);
Tailwind
colors: {
  custom: {
    50: '#8197d8',
    500: '#3a6ec7',
    950: '#000000',
  },
}
SCSS
$custom: #3a6ec7;
$custom-light: #8197d8;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6ec7",
  "rgb": {
    "r": 58,
    "g": 110,
    "b": 199
  },
  "hsl": {
    "h": 217.872,
    "s": 55.731,
    "l": 50.392
  },
  "oklch": {
    "l": 0.54884,
    "c": 0.14943,
    "h": 260.4
  },
  "luminance": 0.16175
}

Semantic roles & 50–950 ramp

primary
#3A6EC7
secondary
#CEB78F
accent
#A849DF
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0D14
muted
#7D7E83

Preview Lab

Preview with #3A6EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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