#3A6BD9#3A6BD9

#3A6BD9 is a mid, vivid blue. Relative luminance 0.164; OKLCH L 55.5% C 0.177 H 263.6°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#3A6BD9
RGBrgb(58, 107, 217)
HSLhsl(222, 68%, 54%)
HSVhsv(222, 73%, 85%)
CMYKcmyk(73.3%, 50.7%, 0%, 14.9%)
CIE-LABlab(47.52, 21.20, -61.24)
CIE-LCHlch(47.52, 64.80, 289.09°)
OKLaboklab(55.5% -0.0198 -0.1761)
OKLCHoklch(55.5% 0.177 263.6)
XYZxyz(19.5226, 16.4226, 67.7732)
Luminance0.1643 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6BD9 #D9A83A
analogous
#3ABBD9 #3A6BD9 #593AD9
triadic
#3A6BD9 #D93A6B #6BD93A
tetradic
#3A6BD9 #D93ABB #D9A83A #3AD959
square
#3A6BD9 #D93ABB #D9A83A #3AD959
split-complementary
#3A6BD9 #D9593A #BBD93A
monochromatic
#193880 #234FB3 #3A6BD9 #6D92E3 #A1B8ED

Accessibility & contrast

On white

4.90
#3A6BD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#3A6BD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6BD9
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6BD9#FFFFFF#000000##FFFFFF
##3A6BD91.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2678DD
Deuteranopia (green-blind)
#006AD7
Tritanopia (blue-blind)
#008598
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #3a6bd9;
/* rgb */ color: rgb(58, 107, 217);
/* oklch */ color: oklch(55.5% 0.177 263.6);
Tailwind
colors: {
  custom: {
    50: '#8594e5',
    500: '#3a6bd9',
    950: '#000000',
  },
}
SCSS
$custom: #3a6bd9;
$custom-light: #8594e5;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6bd9",
  "rgb": {
    "r": 58,
    "g": 107,
    "b": 217
  },
  "hsl": {
    "h": 221.509,
    "s": 67.66,
    "l": 53.922
  },
  "oklch": {
    "l": 0.555,
    "c": 0.17722,
    "h": 263.6
  },
  "luminance": 0.16425
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A6BD9

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

Preview Lab → · Contrast checker → · Palette generator →

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