#3A6CDE#3A6CDE

#3A6CDE is a mid, vivid blue. Relative luminance 0.169; OKLCH L 56.1% C 0.183 H 263.7°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#3A6CDE
RGBrgb(58, 108, 222)
HSLhsl(222, 71%, 55%)
HSVhsv(222, 74%, 87%)
CMYKcmyk(73.9%, 51.4%, 0%, 12.9%)
CIE-LABlab(48.13, 22.39, -63.10)
CIE-LCHlch(48.13, 66.95, 289.54°)
OKLaboklab(56.07% -0.02 -0.1816)
OKLCHoklch(56.07% 0.183 263.7)
XYZxyz(20.2876, 16.8964, 71.2852)
Luminance0.1690 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6CDE #DEAC3A
analogous
#3ABEDE #3A6CDE #5A3ADE
triadic
#3A6CDE #DE3A6C #6CDE3A
tetradic
#3A6CDE #DE3ABE #DEAC3A #3ADE5A
square
#3A6CDE #DE3ABE #DEAC3A #3ADE5A
split-complementary
#3A6CDE #DE5A3A #BEDE3A
monochromatic
#173987 #1F4FBB #3A6CDE #6E93E7 #A3BAF0

Accessibility & contrast

On white

4.79
#3A6CDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#3A6CDE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6CDE
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6CDE#FFFFFF#000000##FFFFFF
##3A6CDE1.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#207AE2
Deuteranopia (green-blind)
#006BDC
Tritanopia (blue-blind)
#00879B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #3a6cde;
/* rgb */ color: rgb(58, 108, 222);
/* oklch */ color: oklch(56.1% 0.183 263.7);
Tailwind
colors: {
  custom: {
    50: '#8695e9',
    500: '#3a6cde',
    950: '#000000',
  },
}
SCSS
$custom: #3a6cde;
$custom-light: #8695e9;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6cde",
  "rgb": {
    "r": 58,
    "g": 108,
    "b": 222
  },
  "hsl": {
    "h": 221.707,
    "s": 71.304,
    "l": 54.902
  },
  "oklch": {
    "l": 0.56067,
    "c": 0.18266,
    "h": 263.7
  },
  "luminance": 0.16899
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A6CDE

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

Preview Lab → · Contrast checker → · Palette generator →

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