#3A6DC7#3A6DC7

#3A6DC7 is a mid, vivid blue. Relative luminance 0.160; OKLCH L 54.7% C 0.151 H 260.8°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#3A6DC7
RGBrgb(58, 109, 199)
HSLhsl(218, 56%, 50%)
HSVhsv(218, 71%, 78%)
CMYKcmyk(70.9%, 45.2%, 0%, 22%)
CIE-LABlab(46.92, 13.34, -51.93)
CIE-LCHlch(46.92, 53.62, 284.41°)
OKLaboklab(54.67% -0.024 -0.1487)
OKLCHoklch(54.67% 0.151 260.8)
XYZxyz(17.5187, 15.9585, 56.1788)
Luminance0.1596 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6DC7 #C7943A
analogous
#3AB3C7 #3A6DC7 #4D3AC7
triadic
#3A6DC7 #C73A6D #6DC73A
tetradic
#3A6DC7 #C73AB3 #C7943A #3AC74D
square
#3A6DC7 #C73AB3 #C7943A #3AC74D
split-complementary
#3A6DC7 #C74D3A #B3C73A
monochromatic
#1E3969 #2B5398 #3A6DC7 #6A90D5 #99B4E2

Accessibility & contrast

On white

5.01
#3A6DC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#3A6DC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6DC7
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6DC7#FFFFFF#000000##FFFFFF
##3A6DC71.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F76CA
Deuteranopia (green-blind)
#2369C5
Tritanopia (blue-blind)
#008290
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #3a6dc7;
/* rgb */ color: rgb(58, 109, 199);
/* oklch */ color: oklch(54.7% 0.151 260.8);
Tailwind
colors: {
  custom: {
    50: '#8196d8',
    500: '#3a6dc7',
    950: '#000000',
  },
}
SCSS
$custom: #3a6dc7;
$custom-light: #8196d8;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6dc7",
  "rgb": {
    "r": 58,
    "g": 109,
    "b": 199
  },
  "hsl": {
    "h": 218.298,
    "s": 55.731,
    "l": 50.392
  },
  "oklch": {
    "l": 0.54668,
    "c": 0.15061,
    "h": 260.8
  },
  "luminance": 0.1596
}

Semantic roles & 50–950 ramp

primary
#3A6DC7
secondary
#CEB78F
accent
#A949DF
background
#F8F9FD
surface
#F0F1FA
border
#CBCBD3
text
#0C0D14
muted
#7D7E83

Preview Lab

Preview with #3A6DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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