#3A6CD9#3A6CD9

#3A6CD9 is a mid, vivid blue. Relative luminance 0.166; OKLCH L 55.7% C 0.176 H 263.3°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#3A6CD9
RGBrgb(58, 108, 217)
HSLhsl(221, 68%, 54%)
HSVhsv(221, 73%, 85%)
CMYKcmyk(73.3%, 50.2%, 0%, 14.9%)
CIE-LABlab(47.79, 20.57, -60.80)
CIE-LCHlch(47.79, 64.19, 288.69°)
OKLaboklab(55.71% -0.0206 -0.1748)
OKLCHoklch(55.71% 0.176 263.3)
XYZxyz(19.6274, 16.6323, 67.8081)
Luminance0.1663 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6CD9 #D9A73A
analogous
#3ABCD9 #3A6CD9 #583AD9
triadic
#3A6CD9 #D93A6C #6CD93A
tetradic
#3A6CD9 #D93ABC #D9A73A #3AD958
square
#3A6CD9 #D93ABC #D9A73A #3AD958
split-complementary
#3A6CD9 #D9583A #BCD93A
monochromatic
#193980 #2350B3 #3A6CD9 #6D92E3 #A1B9ED

Accessibility & contrast

On white

4.85
#3A6CD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#3A6CD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6CD9
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6CD9#FFFFFF#000000##FFFFFF
##3A6CD91.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2979DD
Deuteranopia (green-blind)
#006BD7
Tritanopia (blue-blind)
#008698
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #3a6cd9;
/* rgb */ color: rgb(58, 108, 217);
/* oklch */ color: oklch(55.7% 0.176 263.3);
Tailwind
colors: {
  custom: {
    50: '#8595e5',
    500: '#3a6cd9',
    950: '#000000',
  },
}
SCSS
$custom: #3a6cd9;
$custom-light: #8595e5;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6cd9",
  "rgb": {
    "r": 58,
    "g": 108,
    "b": 217
  },
  "hsl": {
    "h": 221.132,
    "s": 67.66,
    "l": 53.922
  },
  "oklch": {
    "l": 0.55705,
    "c": 0.17602,
    "h": 263.3
  },
  "luminance": 0.16634
}

Semantic roles & 50–950 ramp

primary
#3A6CD9
secondary
#D9C495
accent
#B43DEB
background
#F8F9FE
surface
#F0F1FC
border
#CBCBD5
text
#0C0D16
muted
#7D7E84

Preview Lab

Preview with #3A6CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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