#3A6DDE#3A6DDE

#3A6DDE is a mid, vivid blue. Relative luminance 0.171; OKLCH L 56.3% C 0.181 H 263.4°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#3A6DDE
RGBrgb(58, 109, 222)
HSLhsl(221, 71%, 55%)
HSVhsv(221, 74%, 87%)
CMYKcmyk(73.9%, 50.9%, 0%, 12.9%)
CIE-LABlab(48.40, 21.76, -62.66)
CIE-LCHlch(48.40, 66.34, 289.15°)
OKLaboklab(56.27% -0.0208 -0.1803)
OKLCHoklch(56.27% 0.181 263.4)
XYZxyz(20.3937, 17.1085, 71.3205)
Luminance0.1711 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6DDE #DEAB3A
analogous
#3ABFDE #3A6DDE #593ADE
triadic
#3A6DDE #DE3A6D #6DDE3A
tetradic
#3A6DDE #DE3ABF #DEAB3A #3ADE59
square
#3A6DDE #DE3ABF #DEAB3A #3ADE59
split-complementary
#3A6DDE #DE593A #BFDE3A
monochromatic
#173A87 #1F50BB #3A6DDE #6E94E7 #A3BBF0

Accessibility & contrast

On white

4.75
#3A6DDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#3A6DDE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6DDE
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6DDE#FFFFFF#000000##FFFFFF
##3A6DDE1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#247BE2
Deuteranopia (green-blind)
#006CDC
Tritanopia (blue-blind)
#00889B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #3a6dde;
/* rgb */ color: rgb(58, 109, 222);
/* oklch */ color: oklch(56.3% 0.181 263.4);
Tailwind
colors: {
  custom: {
    50: '#8696e9',
    500: '#3a6dde',
    950: '#000000',
  },
}
SCSS
$custom: #3a6dde;
$custom-light: #8696e9;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6dde",
  "rgb": {
    "r": 58,
    "g": 109,
    "b": 222
  },
  "hsl": {
    "h": 221.341,
    "s": 71.304,
    "l": 54.902
  },
  "oklch": {
    "l": 0.56271,
    "c": 0.18146,
    "h": 263.4
  },
  "luminance": 0.17111
}

Semantic roles & 50–950 ramp

primary
#3A6DDE
secondary
#DCC797
accent
#B63AEE
background
#F9F9FE
surface
#F1F1FD
border
#CBCBD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #3A6DDE

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

Preview Lab → · Contrast checker → · Palette generator →

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