#3A3EDC#3A3EDC

#3A3EDC is a mid, highly saturated blue. Relative luminance 0.095; OKLCH L 47.8% C 0.232 H 272.3°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#3A3EDC
RGBrgb(58, 62, 220)
HSLhsl(239, 70%, 55%)
HSVhsv(239, 74%, 86%)
CMYKcmyk(73.6%, 71.8%, 0%, 13.7%)
CIE-LABlab(36.95, 50.03, -80.22)
CIE-LCHlch(36.95, 94.54, 301.95°)
OKLaboklab(47.75% 0.0093 -0.2321)
OKLCHoklch(47.75% 0.232 272.3)
XYZxyz(16.3815, 9.5104, 68.6686)
Luminance0.0951 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3EDC #DCD83A
analogous
#3A8FDC #3A3EDC #873ADC
triadic
#3A3EDC #DC3A3E #3EDC3A
tetradic
#3A3EDC #DC3A8F #DCD83A #3ADC87
square
#3A3EDC #DC3A8F #DCD83A #3ADC87
split-complementary
#3A3EDC #DC873A #8FDC3A
monochromatic
#171A84 #2124B8 #3A3EDC #6E71E5 #A2A4EE

Accessibility & contrast

On white

7.24
#3A3EDC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#3A3EDC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3EDC
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3EDC#FFFFFF#000000##FFFFFF
##3A3EDC1.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FE1
Deuteranopia (green-blind)
#004FD9
Tritanopia (blue-blind)
#006B89
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3a3edc;
/* rgb */ color: rgb(58, 62, 220);
/* oklch */ color: oklch(47.8% 0.232 272.3);
Tailwind
colors: {
  custom: {
    50: '#8975e8',
    500: '#3a3edc',
    950: '#000000',
  },
}
SCSS
$custom: #3a3edc;
$custom-light: #8975e8;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3edc",
  "rgb": {
    "r": 58,
    "g": 62,
    "b": 220
  },
  "hsl": {
    "h": 238.519,
    "s": 69.828,
    "l": 54.51
  },
  "oklch": {
    "l": 0.4775,
    "c": 0.23233,
    "h": 272.3
  },
  "luminance": 0.09512
}

Semantic roles & 50–950 ramp

primary
#3A3EDC
secondary
#DBD997
accent
#E83BED
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0D0816
muted
#7E7B84

Preview Lab

Preview with #3A3EDC

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

Preview Lab → · Contrast checker → · Palette generator →

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