#3A3FC4#3A3FC4

#3A3FC4 is a mid, highly saturated blue. Relative luminance 0.084; OKLCH L 45.6% C 0.202 H 273.4°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#3A3FC4
RGBrgb(58, 63, 196)
HSLhsl(238, 54%, 50%)
HSVhsv(238, 70%, 77%)
CMYKcmyk(70.4%, 67.9%, 0%, 23.1%)
CIE-LABlab(34.88, 41.45, -69.73)
CIE-LCHlch(34.88, 81.12, 300.73°)
OKLaboklab(45.58% 0.0119 -0.2015)
OKLCHoklch(45.58% 0.202 273.4)
XYZxyz(13.4829, 8.4388, 53.1321)
Luminance0.0844 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3FC4 #C4BF3A
analogous
#3A84C4 #3A3FC4 #7A3AC4
triadic
#3A3FC4 #C43A3F #3FC43A
tetradic
#3A3FC4 #C43A84 #C4BF3A #3AC47A
square
#3A3FC4 #C43A84 #C4BF3A #3AC47A
split-complementary
#3A3FC4 #C47A3A #84C43A
monochromatic
#1E2166 #2C3095 #3A3FC4 #696DD3 #989BE0

Accessibility & contrast

On white

7.81
#3A3FC4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#3A3FC4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3FC4
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3FC4#FFFFFF#000000##FFFFFF
##3A3FC41.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C8
Deuteranopia (green-blind)
#004CC2
Tritanopia (blue-blind)
#00637C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3a3fc4;
/* rgb */ color: rgb(58, 63, 196);
/* oklch */ color: oklch(45.6% 0.202 273.4);
Tailwind
colors: {
  custom: {
    50: '#8375d7',
    500: '#3a3fc4',
    950: '#000000',
  },
}
SCSS
$custom: #3a3fc4;
$custom-light: #8375d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3fc4",
  "rgb": {
    "r": 58,
    "g": 63,
    "b": 196
  },
  "hsl": {
    "h": 237.826,
    "s": 54.331,
    "l": 49.804
  },
  "oklch": {
    "l": 0.45575,
    "c": 0.2019,
    "h": 273.4
  },
  "luminance": 0.0844
}

Semantic roles & 50–950 ramp

primary
#3A3FC4
secondary
#CCCA8E
accent
#D84ADE
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #3A3FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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