#3A6CD2#3A6CD2

#3A6CD2 is a mid, vivid blue. Relative luminance 0.163; OKLCH L 55.2% C 0.167 H 262.6°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#3A6CD2
RGBrgb(58, 108, 210)
HSLhsl(220, 63%, 53%)
HSVhsv(220, 72%, 82%)
CMYKcmyk(72.4%, 48.6%, 0%, 17.6%)
CIE-LABlab(47.33, 18.00, -57.56)
CIE-LCHlch(47.33, 60.31, 287.37°)
OKLaboklab(55.21% -0.0214 -0.1653)
OKLCHoklch(55.21% 0.167 262.6)
XYZxyz(18.7362, 16.2758, 63.1144)
Luminance0.1628 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6CD2 #D2A03A
analogous
#3AB8D2 #3A6CD2 #543AD2
triadic
#3A6CD2 #D23A6C #6CD23A
tetradic
#3A6CD2 #D23AB8 #D2A03A #3AD254
square
#3A6CD2 #D23AB8 #D2A03A #3AD254
split-complementary
#3A6CD2 #D2543A #B8D23A
monochromatic
#1B3977 #2651A8 #3A6CD2 #6C91DD #9EB6E9

Accessibility & contrast

On white

4.93
#3A6CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#3A6CD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6CD2
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6CD2#FFFFFF#000000##FFFFFF
##3A6CD21.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3278D6
Deuteranopia (green-blind)
#006AD0
Tritanopia (blue-blind)
#008495
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #3a6cd2;
/* rgb */ color: rgb(58, 108, 210);
/* oklch */ color: oklch(55.2% 0.167 262.6);
Tailwind
colors: {
  custom: {
    50: '#8395e0',
    500: '#3a6cd2',
    950: '#000000',
  },
}
SCSS
$custom: #3a6cd2;
$custom-light: #8395e0;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6cd2",
  "rgb": {
    "r": 58,
    "g": 108,
    "b": 210
  },
  "hsl": {
    "h": 220.263,
    "s": 62.81,
    "l": 52.549
  },
  "oklch": {
    "l": 0.55207,
    "c": 0.16666,
    "h": 262.6
  },
  "luminance": 0.16278
}

Semantic roles & 50–950 ramp

primary
#3A6CD2
secondary
#D5BF93
accent
#B042E6
background
#F8F9FD
surface
#F0F1FB
border
#CBCBD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #3A6CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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