#3A5DC2#3A5DC2

#3A5DC2 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 50.9% C 0.163 H 266.3°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#3A5DC2
RGBrgb(58, 93, 194)
HSLhsl(225, 54%, 49%)
HSVhsv(225, 70%, 76%)
CMYKcmyk(70.1%, 52.1%, 0%, 23.9%)
CIE-LABlab(42.19, 21.74, -56.66)
CIE-LCHlch(42.19, 60.69, 290.99°)
OKLaboklab(50.95% -0.0106 -0.1629)
OKLCHoklch(50.95% 0.163 266.3)
XYZxyz(15.3935, 12.6217, 52.6535)
Luminance0.1262 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5DC2 #C29F3A
analogous
#3AA1C2 #3A5DC2 #5B3AC2
triadic
#3A5DC2 #C23A5D #5DC23A
tetradic
#3A5DC2 #C23AA1 #C29F3A #3AC25B
square
#3A5DC2 #C23AA1 #C29F3A #3AC25B
split-complementary
#3A5DC2 #C25B3A #A1C23A
monochromatic
#1E3064 #2C4693 #3A5DC2 #6783D2 #97A9E0

Accessibility & contrast

On white

5.96
#3A5DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#3A5DC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A5DC2
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5DC2#FFFFFF#000000##FFFFFF
##3A5DC21.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B6AC6
Deuteranopia (green-blind)
#005EC0
Tritanopia (blue-blind)
#007586
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3a5dc2;
/* rgb */ color: rgb(58, 93, 194);
/* oklch */ color: oklch(50.9% 0.163 266.3);
Tailwind
colors: {
  custom: {
    50: '#818ad5',
    500: '#3a5dc2',
    950: '#000000',
  },
}
SCSS
$custom: #3a5dc2;
$custom-light: #818ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5dc2",
  "rgb": {
    "r": 58,
    "g": 93,
    "b": 194
  },
  "hsl": {
    "h": 224.559,
    "s": 53.968,
    "l": 49.412
  },
  "oklch": {
    "l": 0.50947,
    "c": 0.16322,
    "h": 266.3
  },
  "luminance": 0.12623
}

Semantic roles & 50–950 ramp

primary
#3A5DC2
secondary
#CBBB8D
accent
#B84ADD
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #3A5DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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