#3A6BCE#3A6BCE

#3A6BCE is a mid, vivid blue. Relative luminance 0.159; OKLCH L 54.7% C 0.162 H 262.5°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#3A6BCE
RGBrgb(58, 107, 206)
HSLhsl(220, 60%, 52%)
HSVhsv(220, 72%, 81%)
CMYKcmyk(71.8%, 48.1%, 0%, 19.2%)
CIE-LABlab(46.80, 17.17, -56.13)
CIE-LCHlch(46.80, 58.70, 287.01°)
OKLaboklab(54.72% -0.0212 -0.1611)
OKLCHoklch(54.72% 0.162 262.5)
XYZxyz(18.1392, 15.8692, 60.4876)
Luminance0.1587 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6BCE #CE9D3A
analogous
#3AB5CE #3A6BCE #533ACE
triadic
#3A6BCE #CE3A6B #6BCE3A
tetradic
#3A6BCE #CE3AB5 #CE9D3A #3ACE53
square
#3A6BCE #CE3AB5 #CE9D3A #3ACE53
split-complementary
#3A6BCE #CE533A #B5CE3A
monochromatic
#1C3871 #2851A2 #3A6BCE #6B90DA #9CB5E6

Accessibility & contrast

On white

5.03
#3A6BCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#3A6BCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6BCE
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6BCE#FFFFFF#000000##FFFFFF
##3A6BCE1.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3476D2
Deuteranopia (green-blind)
#0569CC
Tritanopia (blue-blind)
#008292
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #3a6bce;
/* rgb */ color: rgb(58, 107, 206);
/* oklch */ color: oklch(54.7% 0.162 262.5);
Tailwind
colors: {
  custom: {
    50: '#8294de',
    500: '#3a6bce',
    950: '#000000',
  },
}
SCSS
$custom: #3a6bce;
$custom-light: #8294de;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6bce",
  "rgb": {
    "r": 58,
    "g": 107,
    "b": 206
  },
  "hsl": {
    "h": 220.135,
    "s": 60.163,
    "l": 51.765
  },
  "oklch": {
    "l": 0.54718,
    "c": 0.16246,
    "h": 262.5
  },
  "luminance": 0.15871
}

Semantic roles & 50–950 ramp

primary
#3A6BCE
secondary
#D2BD91
accent
#AF44E3
background
#F8F9FD
surface
#F0F1FB
border
#CBCBD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #3A6BCE

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

Preview Lab → · Contrast checker → · Palette generator →

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