#3A6ECD#3A6ECD

#3A6ECD is a mid, vivid blue. Relative luminance 0.165; OKLCH L 55.3% C 0.158 H 261.3°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#3A6ECD
RGBrgb(58, 110, 205)
HSLhsl(219, 60%, 52%)
HSVhsv(219, 72%, 80%)
CMYKcmyk(71.7%, 46.3%, 0%, 19.6%)
CIE-LABlab(47.57, 14.91, -54.33)
CIE-LCHlch(47.57, 56.34, 285.34°)
OKLaboklab(55.29% -0.0239 -0.1557)
OKLCHoklch(55.29% 0.158 261.3)
XYZxyz(18.3363, 16.4572, 59.9560)
Luminance0.1646 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6ECD #CD993A
analogous
#3AB7CD #3A6ECD #503ACD
triadic
#3A6ECD #CD3A6E #6ECD3A
tetradic
#3A6ECD #CD3AB7 #CD993A #3ACD50
square
#3A6ECD #CD3AB7 #CD993A #3ACD50
split-complementary
#3A6ECD #CD503A #B7CD3A
monochromatic
#1C3A70 #2953A1 #3A6ECD #6B92D9 #9CB6E6

Accessibility & contrast

On white

4.89
#3A6ECD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#3A6ECD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6ECD
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6ECD#FFFFFF#000000##FFFFFF
##3A6ECD1.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C78D1
Deuteranopia (green-blind)
#1A6BCB
Tritanopia (blue-blind)
#008493
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #3a6ecd;
/* rgb */ color: rgb(58, 110, 205);
/* oklch */ color: oklch(55.3% 0.158 261.3);
Tailwind
colors: {
  custom: {
    50: '#8297dd',
    500: '#3a6ecd',
    950: '#000000',
  },
}
SCSS
$custom: #3a6ecd;
$custom-light: #8297dd;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6ecd",
  "rgb": {
    "r": 58,
    "g": 110,
    "b": 205
  },
  "hsl": {
    "h": 218.776,
    "s": 59.514,
    "l": 51.569
  },
  "oklch": {
    "l": 0.55286,
    "c": 0.15754,
    "h": 261.3
  },
  "luminance": 0.16459
}

Semantic roles & 50–950 ramp

primary
#3A6ECD
secondary
#D2BB91
accent
#AB45E3
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #3A6ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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