#3A6ED9#3A6ED9

#3A6ED9 is a mid, vivid blue. Relative luminance 0.171; OKLCH L 56.1% C 0.174 H 262.7°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#3A6ED9
RGBrgb(58, 110, 217)
HSLhsl(220, 68%, 54%)
HSVhsv(220, 73%, 85%)
CMYKcmyk(73.3%, 49.3%, 0%, 14.9%)
CIE-LABlab(48.33, 19.30, -59.93)
CIE-LCHlch(48.33, 62.96, 287.85°)
OKLaboklab(56.12% -0.0222 -0.1722)
OKLCHoklch(56.12% 0.174 262.7)
XYZxyz(19.8408, 17.0590, 67.8792)
Luminance0.1706 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6ED9 #D9A53A
analogous
#3ABED9 #3A6ED9 #563AD9
triadic
#3A6ED9 #D93A6E #6ED93A
tetradic
#3A6ED9 #D93ABE #D9A53A #3AD956
square
#3A6ED9 #D93ABE #D9A53A #3AD956
split-complementary
#3A6ED9 #D9563A #BED93A
monochromatic
#193A80 #2352B3 #3A6ED9 #6D94E3 #A1BAED

Accessibility & contrast

On white

4.76
#3A6ED9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#3A6ED9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6ED9
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6ED9#FFFFFF#000000##FFFFFF
##3A6ED91.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F7ADD
Deuteranopia (green-blind)
#006CD7
Tritanopia (blue-blind)
#008899
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #3a6ed9;
/* rgb */ color: rgb(58, 110, 217);
/* oklch */ color: oklch(56.1% 0.174 262.7);
Tailwind
colors: {
  custom: {
    50: '#8596e5',
    500: '#3a6ed9',
    950: '#000000',
  },
}
SCSS
$custom: #3a6ed9;
$custom-light: #8596e5;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6ed9",
  "rgb": {
    "r": 58,
    "g": 110,
    "b": 217
  },
  "hsl": {
    "h": 220.377,
    "s": 67.66,
    "l": 53.922
  },
  "oklch": {
    "l": 0.56117,
    "c": 0.17363,
    "h": 262.7
  },
  "luminance": 0.17061
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A6ED9

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

Preview Lab → · Contrast checker → · Palette generator →

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