#3A5AD5#3A5AD5

#3A5AD5 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.8% C 0.192 H 267.9°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#3A5AD5
RGBrgb(58, 90, 213)
HSLhsl(228, 65%, 53%)
HSVhsv(228, 73%, 84%)
CMYKcmyk(72.8%, 57.7%, 0%, 16.5%)
CIE-LABlab(42.78, 30.56, -66.64)
CIE-LCHlch(42.78, 73.32, 294.64°)
OKLaboklab(51.83% -0.0071 -0.1923)
OKLCHoklch(51.83% 0.192 267.9)
XYZxyz(17.4072, 13.0141, 64.5325)
Luminance0.1302 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5AD5 #D5B53A
analogous
#3AA7D5 #3A5AD5 #673AD5
triadic
#3A5AD5 #D53A5A #5AD53A
tetradic
#3A5AD5 #D53AA7 #D5B53A #3AD567
square
#3A5AD5 #D53AA7 #D5B53A #3AD567
split-complementary
#3A5AD5 #D5673A #A7D53A
monochromatic
#1A2E7A #2541AD #3A5AD5 #6C84E0 #9FAFEB

Accessibility & contrast

On white

5.83
#3A5AD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#3A5AD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A5AD5
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5AD5#FFFFFF#000000##FFFFFF
##3A5AD51.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD9
Deuteranopia (green-blind)
#005ED3
Tritanopia (blue-blind)
#00798F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3a5ad5;
/* rgb */ color: rgb(58, 90, 213);
/* oklch */ color: oklch(51.8% 0.192 267.9);
Tailwind
colors: {
  custom: {
    50: '#8588e3',
    500: '#3a5ad5',
    950: '#000000',
  },
}
SCSS
$custom: #3a5ad5;
$custom-light: #8588e3;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5ad5",
  "rgb": {
    "r": 58,
    "g": 90,
    "b": 213
  },
  "hsl": {
    "h": 227.613,
    "s": 64.854,
    "l": 53.137
  },
  "oklch": {
    "l": 0.51833,
    "c": 0.1924,
    "h": 267.9
  },
  "luminance": 0.13016
}

Semantic roles & 50–950 ramp

primary
#3A5AD5
secondary
#D7C994
accent
#C540E8
background
#F8F8FE
surface
#F0EFFC
border
#CBCAD5
text
#0D0B16
muted
#7D7C84

Preview Lab

Preview with #3A5AD5

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

Preview Lab → · Contrast checker → · Palette generator →

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