#3A4FD5#3A4FD5

#3A4FD5 is a mid, highly saturated blue. Relative luminance 0.113; OKLCH L 49.8% C 0.205 H 270.1°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#3A4FD5
RGBrgb(58, 79, 213)
HSLhsl(232, 65%, 53%)
HSVhsv(232, 73%, 84%)
CMYKcmyk(72.8%, 62.9%, 0%, 16.5%)
CIE-LABlab(40.07, 37.50, -71.07)
CIE-LCHlch(40.07, 80.36, 297.82°)
OKLaboklab(49.82% 0.0004 -0.2054)
OKLCHoklch(49.82% 0.205 270.1)
XYZxyz(16.5470, 11.2939, 64.2458)
Luminance0.1130 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4FD5 #D5C03A
analogous
#3A9CD5 #3A4FD5 #723AD5
triadic
#3A4FD5 #D53A4F #4FD53A
tetradic
#3A4FD5 #D53A9C #D5C03A #3AD572
square
#3A4FD5 #D53A9C #D5C03A #3AD572
split-complementary
#3A4FD5 #D5723A #9CD53A
monochromatic
#1A277A #2537AD #3A4FD5 #6C7CE0 #9FA9EB

Accessibility & contrast

On white

6.44
#3A4FD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#3A4FD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A4FD5
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4FD5#FFFFFF#000000##FFFFFF
##3A4FD51.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D9
Deuteranopia (green-blind)
#0057D2
Tritanopia (blue-blind)
#00728B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3a4fd5;
/* rgb */ color: rgb(58, 79, 213);
/* oklch */ color: oklch(49.8% 0.205 270.1);
Tailwind
colors: {
  custom: {
    50: '#8680e3',
    500: '#3a4fd5',
    950: '#000000',
  },
}
SCSS
$custom: #3a4fd5;
$custom-light: #8680e3;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4fd5",
  "rgb": {
    "r": 58,
    "g": 79,
    "b": 213
  },
  "hsl": {
    "h": 231.871,
    "s": 64.854,
    "l": 53.137
  },
  "oklch": {
    "l": 0.49821,
    "c": 0.20539,
    "h": 270.1
  },
  "luminance": 0.11296
}

Semantic roles & 50–950 ramp

primary
#3A4FD5
secondary
#D7CE94
accent
#D140E8
background
#F9F7FE
surface
#F1EEFC
border
#CBC9D5
text
#0D0A16
muted
#7E7C84

Preview Lab

Preview with #3A4FD5

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

Preview Lab → · Contrast checker → · Palette generator →

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