#3A6CD7#3A6CD7

#3A6CD7 is a mid, vivid blue. Relative luminance 0.165; OKLCH L 55.6% C 0.173 H 263.1°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#3A6CD7
RGBrgb(58, 108, 215)
HSLhsl(221, 66%, 54%)
HSVhsv(221, 73%, 84%)
CMYKcmyk(73%, 49.8%, 0%, 15.7%)
CIE-LABlab(47.66, 19.83, -59.88)
CIE-LCHlch(47.66, 63.08, 288.33°)
OKLaboklab(55.56% -0.0208 -0.1721)
OKLCHoklch(55.56% 0.173 263.1)
XYZxyz(19.3689, 16.5289, 66.4464)
Luminance0.1653 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6CD7 #D7A53A
analogous
#3ABAD7 #3A6CD7 #563AD7
triadic
#3A6CD7 #D73A6C #6CD73A
tetradic
#3A6CD7 #D73ABA #D7A53A #3AD756
square
#3A6CD7 #D73ABA #D7A53A #3AD756
split-complementary
#3A6CD7 #D7563A #BAD73A
monochromatic
#19397D #2450B0 #3A6CD7 #6D92E1 #A0B8EC

Accessibility & contrast

On white

4.88
#3A6CD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#3A6CD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6CD7
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6CD7#FFFFFF#000000##FFFFFF
##3A6CD71.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C79DB
Deuteranopia (green-blind)
#006AD5
Tritanopia (blue-blind)
#008697
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #3a6cd7;
/* rgb */ color: rgb(58, 108, 215);
/* oklch */ color: oklch(55.6% 0.173 263.1);
Tailwind
colors: {
  custom: {
    50: '#8495e4',
    500: '#3a6cd7',
    950: '#000000',
  },
}
SCSS
$custom: #3a6cd7;
$custom-light: #8495e4;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6cd7",
  "rgb": {
    "r": 58,
    "g": 108,
    "b": 215
  },
  "hsl": {
    "h": 220.892,
    "s": 66.245,
    "l": 53.529
  },
  "oklch": {
    "l": 0.55561,
    "c": 0.17335,
    "h": 263.1
  },
  "luminance": 0.16531
}

Semantic roles & 50–950 ramp

primary
#3A6CD7
secondary
#D8C395
accent
#B33FE9
background
#F8F9FE
surface
#F0F1FC
border
#CBCBD5
text
#0C0D16
muted
#7D7E84

Preview Lab

Preview with #3A6CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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