#3A6DCD#3A6DCD

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

Color values

HEX#3A6DCD
RGBrgb(58, 109, 205)
HSLhsl(219, 60%, 52%)
HSVhsv(219, 72%, 80%)
CMYKcmyk(71.7%, 46.8%, 0%, 19.6%)
CIE-LABlab(47.29, 15.54, -54.77)
CIE-LCHlch(47.29, 56.93, 285.84°)
OKLaboklab(55.07% -0.023 -0.157)
OKLCHoklch(55.07% 0.159 261.7)
XYZxyz(18.2291, 16.2426, 59.9202)
Luminance0.1625 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6DCD #CD9A3A
analogous
#3AB6CD #3A6DCD #513ACD
triadic
#3A6DCD #CD3A6D #6DCD3A
tetradic
#3A6DCD #CD3AB6 #CD9A3A #3ACD51
square
#3A6DCD #CD3AB6 #CD9A3A #3ACD51
split-complementary
#3A6DCD #CD513A #B6CD3A
monochromatic
#1C3970 #2953A1 #3A6DCD #6B91D9 #9CB5E6

Accessibility & contrast

On white

4.94
#3A6DCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#3A6DCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6DCD
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6DCD#FFFFFF#000000##FFFFFF
##3A6DCD1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A77D1
Deuteranopia (green-blind)
#166ACB
Tritanopia (blue-blind)
#008493
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #3a6dcd;
/* rgb */ color: rgb(58, 109, 205);
/* oklch */ color: oklch(55.1% 0.159 261.7);
Tailwind
colors: {
  custom: {
    50: '#8296dd',
    500: '#3a6dcd',
    950: '#000000',
  },
}
SCSS
$custom: #3a6dcd;
$custom-light: #8296dd;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6dcd",
  "rgb": {
    "r": 58,
    "g": 109,
    "b": 205
  },
  "hsl": {
    "h": 219.184,
    "s": 59.514,
    "l": 51.569
  },
  "oklch": {
    "l": 0.55072,
    "c": 0.15873,
    "h": 261.7
  },
  "luminance": 0.16245
}

Semantic roles & 50–950 ramp

primary
#3A6DCD
secondary
#D2BB91
accent
#AC45E3
background
#F8F9FD
surface
#F0F1FB
border
#CBCBD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #3A6DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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