#3A6FD9#3A6FD9

#3A6FD9 is a mid, vivid blue. Relative luminance 0.173; OKLCH L 56.3% C 0.172 H 262.3°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#3A6FD9
RGBrgb(58, 111, 217)
HSLhsl(220, 68%, 54%)
HSVhsv(220, 73%, 85%)
CMYKcmyk(73.3%, 48.8%, 0%, 14.9%)
CIE-LABlab(48.61, 18.67, -59.49)
CIE-LCHlch(48.61, 62.35, 287.42°)
OKLaboklab(56.33% -0.023 -0.1709)
OKLCHoklch(56.33% 0.172 262.3)
XYZxyz(19.9493, 17.2760, 67.9154)
Luminance0.1728 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6FD9 #D9A43A
analogous
#3ABFD9 #3A6FD9 #553AD9
triadic
#3A6FD9 #D93A6F #6FD93A
tetradic
#3A6FD9 #D93ABF #D9A43A #3AD955
square
#3A6FD9 #D93ABF #D9A43A #3AD955
split-complementary
#3A6FD9 #D9553A #BFD93A
monochromatic
#193B80 #2353B3 #3A6FD9 #6D95E3 #A1BAED

Accessibility & contrast

On white

4.71
#3A6FD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#3A6FD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6FD9
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6FD9#FFFFFF#000000##FFFFFF
##3A6FD91.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#327BDD
Deuteranopia (green-blind)
#006DD7
Tritanopia (blue-blind)
#00889A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #3a6fd9;
/* rgb */ color: rgb(58, 111, 217);
/* oklch */ color: oklch(56.3% 0.172 262.3);
Tailwind
colors: {
  custom: {
    50: '#8597e5',
    500: '#3a6fd9',
    950: '#000000',
  },
}
SCSS
$custom: #3a6fd9;
$custom-light: #8597e5;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6fd9",
  "rgb": {
    "r": 58,
    "g": 111,
    "b": 217
  },
  "hsl": {
    "h": 220,
    "s": 67.66,
    "l": 53.922
  },
  "oklch": {
    "l": 0.56325,
    "c": 0.17245,
    "h": 262.3
  },
  "luminance": 0.17278
}

Semantic roles & 50–950 ramp

primary
#3A6FD9
secondary
#D9C395
accent
#B13DEB
background
#F8F9FE
surface
#F0F2FC
border
#CBCCD5
text
#0C0D16
muted
#7D7E84

Preview Lab

Preview with #3A6FD9

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

Preview Lab → · Contrast checker → · Palette generator →

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