#3A6BCD#3A6BCD

#3A6BCD is a mid, vivid blue. Relative luminance 0.158; OKLCH L 54.6% C 0.161 H 262.4°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#3A6BCD
RGBrgb(58, 107, 205)
HSLhsl(220, 60%, 52%)
HSVhsv(220, 72%, 80%)
CMYKcmyk(71.7%, 47.8%, 0%, 19.6%)
CIE-LABlab(46.74, 16.80, -55.66)
CIE-LCHlch(46.74, 58.14, 286.80°)
OKLaboklab(54.65% -0.0213 -0.1597)
OKLCHoklch(54.65% 0.161 262.4)
XYZxyz(18.0181, 15.8208, 59.8499)
Luminance0.1582 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6BCD #CD9C3A
analogous
#3AB5CD #3A6BCD #533ACD
triadic
#3A6BCD #CD3A6B #6BCD3A
tetradic
#3A6BCD #CD3AB5 #CD9C3A #3ACD53
square
#3A6BCD #CD3AB5 #CD9C3A #3ACD53
split-complementary
#3A6BCD #CD533A #B5CD3A
monochromatic
#1C3870 #2951A1 #3A6BCD #6B90D9 #9CB4E6

Accessibility & contrast

On white

5.04
#3A6BCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#3A6BCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6BCD
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6BCD#FFFFFF#000000##FFFFFF
##3A6BCD1.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3576D1
Deuteranopia (green-blind)
#0A68CB
Tritanopia (blue-blind)
#008292
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #3a6bcd;
/* rgb */ color: rgb(58, 107, 205);
/* oklch */ color: oklch(54.6% 0.161 262.4);
Tailwind
colors: {
  custom: {
    50: '#8294dd',
    500: '#3a6bcd',
    950: '#000000',
  },
}
SCSS
$custom: #3a6bcd;
$custom-light: #8294dd;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6bcd",
  "rgb": {
    "r": 58,
    "g": 107,
    "b": 205
  },
  "hsl": {
    "h": 220,
    "s": 59.514,
    "l": 51.569
  },
  "oklch": {
    "l": 0.54649,
    "c": 0.16111,
    "h": 262.4
  },
  "luminance": 0.15823
}

Semantic roles & 50–950 ramp

primary
#3A6BCD
secondary
#D2BC91
accent
#AE45E3
background
#F8F9FD
surface
#F0F1FB
border
#CBCBD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #3A6BCD

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

Preview Lab → · Contrast checker → · Palette generator →

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