#3A6ED2#3A6ED2

#3A6ED2 is a mid, vivid blue. Relative luminance 0.167; OKLCH L 55.6% C 0.164 H 261.9°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#3A6ED2
RGBrgb(58, 110, 210)
HSLhsl(219, 63%, 53%)
HSVhsv(219, 72%, 82%)
CMYKcmyk(72.4%, 47.6%, 0%, 17.6%)
CIE-LABlab(47.88, 16.74, -56.68)
CIE-LCHlch(47.88, 59.10, 286.45°)
OKLaboklab(55.63% -0.0231 -0.1626)
OKLCHoklch(55.63% 0.164 261.9)
XYZxyz(18.9495, 16.7025, 63.1855)
Luminance0.1671 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6ED2 #D29E3A
analogous
#3ABAD2 #3A6ED2 #523AD2
triadic
#3A6ED2 #D23A6E #6ED23A
tetradic
#3A6ED2 #D23ABA #D29E3A #3AD252
square
#3A6ED2 #D23ABA #D29E3A #3AD252
split-complementary
#3A6ED2 #D2523A #BAD23A
monochromatic
#1B3A77 #2653A8 #3A6ED2 #6C93DD #9EB7E9

Accessibility & contrast

On white

4.84
#3A6ED2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#3A6ED2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6ED2
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6ED2#FFFFFF#000000##FFFFFF
##3A6ED21.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3779D6
Deuteranopia (green-blind)
#096BD0
Tritanopia (blue-blind)
#008696
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #3a6ed2;
/* rgb */ color: rgb(58, 110, 210);
/* oklch */ color: oklch(55.6% 0.164 261.9);
Tailwind
colors: {
  custom: {
    50: '#8397e0',
    500: '#3a6ed2',
    950: '#000000',
  },
}
SCSS
$custom: #3a6ed2;
$custom-light: #8397e0;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6ed2",
  "rgb": {
    "r": 58,
    "g": 110,
    "b": 210
  },
  "hsl": {
    "h": 219.474,
    "s": 62.81,
    "l": 52.549
  },
  "oklch": {
    "l": 0.55628,
    "c": 0.16428,
    "h": 261.9
  },
  "luminance": 0.16705
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A6ED2

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

Preview Lab → · Contrast checker → · Palette generator →

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