#3A3EC2#3A3EC2

#3A3EC2 is a mid, highly saturated blue. Relative luminance 0.082; OKLCH L 45.2% C 0.200 H 273.7°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#3A3EC2
RGBrgb(58, 62, 194)
HSLhsl(238, 54%, 49%)
HSVhsv(238, 70%, 76%)
CMYKcmyk(70.1%, 68%, 0%, 23.9%)
CIE-LABlab(34.47, 41.38, -69.23)
CIE-LCHlch(34.47, 80.65, 300.87°)
OKLaboklab(45.23% 0.0128 -0.2001)
OKLCHoklch(45.23% 0.2 273.7)
XYZxyz(13.2019, 8.2386, 51.9229)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3EC2 #C2BE3A
analogous
#3A82C2 #3A3EC2 #7A3AC2
triadic
#3A3EC2 #C23A3E #3EC23A
tetradic
#3A3EC2 #C23A82 #C2BE3A #3AC27A
square
#3A3EC2 #C23A82 #C2BE3A #3AC27A
split-complementary
#3A3EC2 #C27A3A #82C23A
monochromatic
#1E2064 #2C2F93 #3A3EC2 #676BD2 #9799E0

Accessibility & contrast

On white

7.93
#3A3EC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#3A3EC2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3EC2
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3EC2#FFFFFF#000000##FFFFFF
##3A3EC21.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C6
Deuteranopia (green-blind)
#004BC0
Tritanopia (blue-blind)
#00627B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3a3ec2;
/* rgb */ color: rgb(58, 62, 194);
/* oklch */ color: oklch(45.2% 0.200 273.7);
Tailwind
colors: {
  custom: {
    50: '#8374d6',
    500: '#3a3ec2',
    950: '#000000',
  },
}
SCSS
$custom: #3a3ec2;
$custom-light: #8374d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3ec2",
  "rgb": {
    "r": 58,
    "g": 62,
    "b": 194
  },
  "hsl": {
    "h": 238.235,
    "s": 53.968,
    "l": 49.412
  },
  "oklch": {
    "l": 0.45226,
    "c": 0.20048,
    "h": 273.7
  },
  "luminance": 0.0824
}

Semantic roles & 50–950 ramp

primary
#3A3EC2
secondary
#CBC98D
accent
#D94ADD
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #3A3EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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