#3A6DC5#3A6DC5

#3A6DC5 is a mid, vivid blue. Relative luminance 0.159; OKLCH L 54.5% C 0.148 H 260.5°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#3A6DC5
RGBrgb(58, 109, 197)
HSLhsl(218, 55%, 50%)
HSVhsv(218, 71%, 77%)
CMYKcmyk(70.6%, 44.7%, 0%, 22.7%)
CIE-LABlab(46.80, 12.61, -50.97)
CIE-LCHlch(46.80, 52.51, 283.90°)
OKLaboklab(54.54% -0.0244 -0.1459)
OKLCHoklch(54.54% 0.148 260.5)
XYZxyz(17.2880, 15.8662, 54.9639)
Luminance0.1587 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6DC5 #C5923A
analogous
#3AB2C5 #3A6DC5 #4D3AC5
triadic
#3A6DC5 #C53A6D #6DC53A
tetradic
#3A6DC5 #C53AB2 #C5923A #3AC54D
square
#3A6DC5 #C53AB2 #C5923A #3AC54D
split-complementary
#3A6DC5 #C54D3A #B2C53A
monochromatic
#1E3966 #2C5396 #3A6DC5 #6990D3 #99B3E1

Accessibility & contrast

On white

5.03
#3A6DC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#3A6DC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6DC5
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6DC5#FFFFFF#000000##FFFFFF
##3A6DC51.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4176C8
Deuteranopia (green-blind)
#2769C3
Tritanopia (blue-blind)
#00828F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #3a6dc5;
/* rgb */ color: rgb(58, 109, 197);
/* oklch */ color: oklch(54.5% 0.148 260.5);
Tailwind
colors: {
  custom: {
    50: '#8196d7',
    500: '#3a6dc5',
    950: '#000000',
  },
}
SCSS
$custom: #3a6dc5;
$custom-light: #8196d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6dc5",
  "rgb": {
    "r": 58,
    "g": 109,
    "b": 197
  },
  "hsl": {
    "h": 217.986,
    "s": 54.51,
    "l": 50
  },
  "oklch": {
    "l": 0.54535,
    "c": 0.14789,
    "h": 260.5
  },
  "luminance": 0.15868
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A6DC5

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

Preview Lab → · Contrast checker → · Palette generator →

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