#3A6FD2#3A6FD2

#3A6FD2 is a mid, vivid blue. Relative luminance 0.169; OKLCH L 55.8% C 0.163 H 261.5°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#3A6FD2
RGBrgb(58, 111, 210)
HSLhsl(219, 63%, 53%)
HSVhsv(219, 72%, 82%)
CMYKcmyk(72.4%, 47.1%, 0%, 17.6%)
CIE-LABlab(48.16, 16.11, -56.23)
CIE-LCHlch(48.16, 58.50, 285.98°)
OKLaboklab(55.84% -0.024 -0.1613)
OKLCHoklch(55.84% 0.163 261.5)
XYZxyz(19.0581, 16.9195, 63.2217)
Luminance0.1692 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6FD2 #D29D3A
analogous
#3ABBD2 #3A6FD2 #513AD2
triadic
#3A6FD2 #D23A6F #6FD23A
tetradic
#3A6FD2 #D23ABB #D29D3A #3AD251
square
#3A6FD2 #D23ABB #D29D3A #3AD251
split-complementary
#3A6FD2 #D2513A #BBD23A
monochromatic
#1B3B77 #2654A8 #3A6FD2 #6C93DD #9EB8E9

Accessibility & contrast

On white

4.79
#3A6FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#3A6FD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6FD2
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6FD2#FFFFFF#000000##FFFFFF
##3A6FD21.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A7AD6
Deuteranopia (green-blind)
#116CD0
Tritanopia (blue-blind)
#008696
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #3a6fd2;
/* rgb */ color: rgb(58, 111, 210);
/* oklch */ color: oklch(55.8% 0.163 261.5);
Tailwind
colors: {
  custom: {
    50: '#8397e0',
    500: '#3a6fd2',
    950: '#000000',
  },
}
SCSS
$custom: #3a6fd2;
$custom-light: #8397e0;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6fd2",
  "rgb": {
    "r": 58,
    "g": 111,
    "b": 210
  },
  "hsl": {
    "h": 219.079,
    "s": 62.81,
    "l": 52.549
  },
  "oklch": {
    "l": 0.55839,
    "c": 0.16308,
    "h": 261.5
  },
  "luminance": 0.16922
}

Semantic roles & 50–950 ramp

primary
#3A6FD2
secondary
#D5BE93
accent
#AD42E6
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #3A6FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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