#3A3FC2#3A3FC2

#3A3FC2 is a mid, vivid blue. Relative luminance 0.084; OKLCH L 45.4% C 0.199 H 273.5°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#3A3FC2
RGBrgb(58, 63, 194)
HSLhsl(238, 54%, 49%)
HSVhsv(238, 70%, 76%)
CMYKcmyk(70.1%, 67.5%, 0%, 23.9%)
CIE-LABlab(34.70, 40.77, -68.86)
CIE-LCHlch(34.70, 80.03, 300.63°)
OKLaboklab(45.39% 0.0121 -0.199)
OKLCHoklch(45.39% 0.199 273.5)
XYZxyz(13.2568, 8.3483, 51.9412)
Luminance0.0835 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3FC2 #C2BD3A
analogous
#3A83C2 #3A3FC2 #793AC2
triadic
#3A3FC2 #C23A3F #3FC23A
tetradic
#3A3FC2 #C23A83 #C2BD3A #3AC279
square
#3A3FC2 #C23A83 #C2BD3A #3AC279
split-complementary
#3A3FC2 #C2793A #83C23A
monochromatic
#1E2064 #2C3093 #3A3FC2 #676BD2 #9799E0

Accessibility & contrast

On white

7.87
#3A3FC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#3A3FC2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3FC2
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3FC2#FFFFFF#000000##FFFFFF
##3A3FC21.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a3fc2;
/* rgb */ color: rgb(58, 63, 194);
/* oklch */ color: oklch(45.4% 0.199 273.5);
Tailwind
colors: {
  custom: {
    50: '#8375d6',
    500: '#3a3fc2',
    950: '#000000',
  },
}
SCSS
$custom: #3a3fc2;
$custom-light: #8375d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3fc2",
  "rgb": {
    "r": 58,
    "g": 63,
    "b": 194
  },
  "hsl": {
    "h": 237.794,
    "s": 53.968,
    "l": 49.412
  },
  "oklch": {
    "l": 0.45387,
    "c": 0.19937,
    "h": 273.5
  },
  "luminance": 0.0835
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A3FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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