#3A6CC5#3A6CC5

#3A6CC5 is a mid, vivid blue. Relative luminance 0.157; OKLCH L 54.3% C 0.149 H 260.9°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#3A6CC5
RGBrgb(58, 108, 197)
HSLhsl(218, 55%, 50%)
HSVhsv(218, 71%, 77%)
CMYKcmyk(70.6%, 45.2%, 0%, 22.7%)
CIE-LABlab(46.52, 13.24, -51.42)
CIE-LCHlch(46.52, 53.10, 284.44°)
OKLaboklab(54.32% -0.0234 -0.1472)
OKLCHoklch(54.32% 0.149 260.9)
XYZxyz(17.1819, 15.6541, 54.9285)
Luminance0.1566 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6CC5 #C5933A
analogous
#3AB2C5 #3A6CC5 #4D3AC5
triadic
#3A6CC5 #C53A6C #6CC53A
tetradic
#3A6CC5 #C53AB2 #C5933A #3AC54D
square
#3A6CC5 #C53AB2 #C5933A #3AC54D
split-complementary
#3A6CC5 #C54D3A #B2C53A
monochromatic
#1E3866 #2C5296 #3A6CC5 #698FD3 #99B3E1

Accessibility & contrast

On white

5.08
#3A6CC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#3A6CC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6CC5
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6CC5#FFFFFF#000000##FFFFFF
##3A6CC51.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F75C8
Deuteranopia (green-blind)
#2468C3
Tritanopia (blue-blind)
#00818F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #3a6cc5;
/* rgb */ color: rgb(58, 108, 197);
/* oklch */ color: oklch(54.3% 0.149 260.9);
Tailwind
colors: {
  custom: {
    50: '#8195d7',
    500: '#3a6cc5',
    950: '#000000',
  },
}
SCSS
$custom: #3a6cc5;
$custom-light: #8195d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6cc5",
  "rgb": {
    "r": 58,
    "g": 108,
    "b": 197
  },
  "hsl": {
    "h": 218.417,
    "s": 54.51,
    "l": 50
  },
  "oklch": {
    "l": 0.54318,
    "c": 0.14908,
    "h": 260.9
  },
  "luminance": 0.15656
}

Semantic roles & 50–950 ramp

primary
#3A6CC5
secondary
#CDB68E
accent
#A94ADE
background
#F8F9FD
surface
#F0F1FA
border
#CBCBD3
text
#0C0D14
muted
#7D7E83

Preview Lab

Preview with #3A6CC5

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

Preview Lab → · Contrast checker → · Palette generator →

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