#3A5DC1#3A5DC1

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

Color values

HEX#3A5DC1
RGBrgb(58, 93, 193)
HSLhsl(224, 54%, 49%)
HSVhsv(224, 70%, 76%)
CMYKcmyk(69.9%, 51.8%, 0%, 24.3%)
CIE-LABlab(42.12, 21.37, -56.19)
CIE-LCHlch(42.12, 60.12, 290.82°)
OKLaboklab(50.87% -0.0107 -0.1615)
OKLCHoklch(50.87% 0.162 266.2)
XYZxyz(15.2816, 12.5769, 52.0640)
Luminance0.1258 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5DC1 #C19E3A
analogous
#3AA1C1 #3A5DC1 #5A3AC1
triadic
#3A5DC1 #C13A5D #5DC13A
tetradic
#3A5DC1 #C13AA1 #C19E3A #3AC15A
square
#3A5DC1 #C13AA1 #C19E3A #3AC15A
split-complementary
#3A5DC1 #C15A3A #A1C13A
monochromatic
#1E3063 #2C4692 #3A5DC1 #6782D1 #96A9DF

Accessibility & contrast

On white

5.97
#3A5DC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3A5DC1
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5DC1#FFFFFF#000000##FFFFFF
##3A5DC11.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D6AC5
Deuteranopia (green-blind)
#005EBF
Tritanopia (blue-blind)
#007586
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #3a5dc1;
/* rgb */ color: rgb(58, 93, 193);
/* oklch */ color: oklch(50.9% 0.162 266.2);
Tailwind
colors: {
  custom: {
    50: '#808ad4',
    500: '#3a5dc1',
    950: '#000000',
  },
}
SCSS
$custom: #3a5dc1;
$custom-light: #808ad4;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5dc1",
  "rgb": {
    "r": 58,
    "g": 93,
    "b": 193
  },
  "hsl": {
    "h": 224.444,
    "s": 53.785,
    "l": 49.216
  },
  "oklch": {
    "l": 0.50873,
    "c": 0.16184,
    "h": 266.2
  },
  "luminance": 0.12578
}

Semantic roles & 50–950 ramp

primary
#3A5DC1
secondary
#CBBB8C
accent
#B74BDD
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #3A5DC1

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

Preview Lab → · Contrast checker → · Palette generator →

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