#3A4ED5#3A4ED5

#3A4ED5 is a mid, highly saturated blue. Relative luminance 0.112; OKLCH L 49.6% C 0.207 H 270.3°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#3A4ED5
RGBrgb(58, 78, 213)
HSLhsl(232, 65%, 53%)
HSVhsv(232, 73%, 84%)
CMYKcmyk(72.8%, 63.4%, 0%, 16.5%)
CIE-LABlab(39.83, 38.13, -71.46)
CIE-LCHlch(39.83, 81.00, 298.08°)
OKLaboklab(49.65% 0.0011 -0.2065)
OKLCHoklch(49.65% 0.207 270.3)
XYZxyz(16.4755, 11.1507, 64.2219)
Luminance0.1115 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4ED5 #D5C13A
analogous
#3A9BD5 #3A4ED5 #733AD5
triadic
#3A4ED5 #D53A4E #4ED53A
tetradic
#3A4ED5 #D53A9B #D5C13A #3AD573
square
#3A4ED5 #D53A9B #D5C13A #3AD573
split-complementary
#3A4ED5 #D5733A #9BD53A
monochromatic
#1A277A #2536AD #3A4ED5 #6C7BE0 #9FA9EB

Accessibility & contrast

On white

6.50
#3A4ED5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#3A4ED5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A4ED5
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4ED5#FFFFFF#000000##FFFFFF
##3A4ED51.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D9
Deuteranopia (green-blind)
#0057D2
Tritanopia (blue-blind)
#00718A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3a4ed5;
/* rgb */ color: rgb(58, 78, 213);
/* oklch */ color: oklch(49.6% 0.207 270.3);
Tailwind
colors: {
  custom: {
    50: '#867fe3',
    500: '#3a4ed5',
    950: '#000000',
  },
}
SCSS
$custom: #3a4ed5;
$custom-light: #867fe3;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4ed5",
  "rgb": {
    "r": 58,
    "g": 78,
    "b": 213
  },
  "hsl": {
    "h": 232.258,
    "s": 64.854,
    "l": 53.137
  },
  "oklch": {
    "l": 0.49646,
    "c": 0.20654,
    "h": 270.3
  },
  "luminance": 0.11152
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A4ED5

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

Preview Lab → · Contrast checker → · Palette generator →

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