#3A6DC4#3A6DC4

#3A6DC4 is a mid, vivid blue. Relative luminance 0.158; OKLCH L 54.5% C 0.147 H 260.4°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#3A6DC4
RGBrgb(58, 109, 196)
HSLhsl(218, 54%, 50%)
HSVhsv(218, 70%, 77%)
CMYKcmyk(70.4%, 44.4%, 0%, 23.1%)
CIE-LABlab(46.74, 12.25, -50.49)
CIE-LCHlch(46.74, 51.96, 283.63°)
OKLaboklab(54.47% -0.0245 -0.1445)
OKLCHoklch(54.47% 0.147 260.4)
XYZxyz(17.1738, 15.8205, 54.3624)
Luminance0.1582 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6DC4 #C4913A
analogous
#3AB2C4 #3A6DC4 #4C3AC4
triadic
#3A6DC4 #C43A6D #6DC43A
tetradic
#3A6DC4 #C43AB2 #C4913A #3AC44C
square
#3A6DC4 #C43AB2 #C4913A #3AC44C
split-complementary
#3A6DC4 #C44C3A #B2C43A
monochromatic
#1E3866 #2C5395 #3A6DC4 #6990D3 #98B3E0

Accessibility & contrast

On white

5.04
#3A6DC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#3A6DC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6DC4
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6DC4#FFFFFF#000000##FFFFFF
##3A6DC41.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4276C7
Deuteranopia (green-blind)
#2869C2
Tritanopia (blue-blind)
#00818F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #3a6dc4;
/* rgb */ color: rgb(58, 109, 196);
/* oklch */ color: oklch(54.5% 0.147 260.4);
Tailwind
colors: {
  custom: {
    50: '#8096d6',
    500: '#3a6dc4',
    950: '#000000',
  },
}
SCSS
$custom: #3a6dc4;
$custom-light: #8096d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6dc4",
  "rgb": {
    "r": 58,
    "g": 109,
    "b": 196
  },
  "hsl": {
    "h": 217.826,
    "s": 54.331,
    "l": 49.804
  },
  "oklch": {
    "l": 0.54469,
    "c": 0.14654,
    "h": 260.4
  },
  "luminance": 0.15822
}

Semantic roles & 50–950 ramp

primary
#3A6DC4
secondary
#CCB58E
accent
#A74ADE
background
#F8F9FD
surface
#F0F1FA
border
#CBCBD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #3A6DC4

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

Preview Lab → · Contrast checker → · Palette generator →

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