#3A4EDC#3A4EDC

#3A4EDC is a mid, highly saturated blue. Relative luminance 0.115; OKLCH L 50.3% C 0.215 H 270.2°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#3A4EDC
RGBrgb(58, 78, 220)
HSLhsl(233, 70%, 55%)
HSVhsv(233, 74%, 86%)
CMYKcmyk(73.6%, 64.5%, 0%, 13.7%)
CIE-LABlab(40.43, 40.57, -74.49)
CIE-LCHlch(40.43, 84.82, 298.57°)
OKLaboklab(50.27% 0.0007 -0.2154)
OKLCHoklch(50.27% 0.215 270.2)
XYZxyz(17.3832, 11.5138, 69.0025)
Luminance0.1152 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4EDC #DCC83A
analogous
#3A9FDC #3A4EDC #773ADC
triadic
#3A4EDC #DC3A4E #4EDC3A
tetradic
#3A4EDC #DC3A9F #DCC83A #3ADC77
square
#3A4EDC #DC3A9F #DCC83A #3ADC77
split-complementary
#3A4EDC #DC773A #9FDC3A
monochromatic
#172584 #2133B8 #3A4EDC #6E7DE5 #A2ABEE

Accessibility & contrast

On white

6.36
#3A4EDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#3A4EDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A4EDC
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4EDC#FFFFFF#000000##FFFFFF
##3A4EDC1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E0
Deuteranopia (green-blind)
#0058D9
Tritanopia (blue-blind)
#00748E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #3a4edc;
/* rgb */ color: rgb(58, 78, 220);
/* oklch */ color: oklch(50.3% 0.215 270.2);
Tailwind
colors: {
  custom: {
    50: '#877fe8',
    500: '#3a4edc',
    950: '#000000',
  },
}
SCSS
$custom: #3a4edc;
$custom-light: #877fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4edc",
  "rgb": {
    "r": 58,
    "g": 78,
    "b": 220
  },
  "hsl": {
    "h": 232.593,
    "s": 69.828,
    "l": 54.51
  },
  "oklch": {
    "l": 0.50269,
    "c": 0.21541,
    "h": 270.2
  },
  "luminance": 0.11516
}

Semantic roles & 50–950 ramp

primary
#3A4EDC
secondary
#DBD397
accent
#D73BED
background
#F9F7FE
surface
#F1EEFD
border
#CBC9D5
text
#0D0A16
muted
#7E7C84

Preview Lab

Preview with #3A4EDC

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

Preview Lab → · Contrast checker → · Palette generator →

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