#3A43C4#3A43C4

#3A43C4 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 46.2% C 0.197 H 272.7°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#3A43C4
RGBrgb(58, 67, 196)
HSLhsl(236, 54%, 50%)
HSVhsv(236, 70%, 77%)
CMYKcmyk(70.4%, 65.8%, 0%, 23.1%)
CIE-LABlab(35.79, 39.02, -68.24)
CIE-LCHlch(35.79, 78.61, 299.76°)
OKLaboklab(46.23% 0.0093 -0.1972)
OKLCHoklch(46.23% 0.197 272.7)
XYZxyz(13.7125, 8.8980, 53.2087)
Luminance0.0890 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A43C4 #C4BB3A
analogous
#3A88C4 #3A43C4 #763AC4
triadic
#3A43C4 #C43A43 #43C43A
tetradic
#3A43C4 #C43A88 #C4BB3A #3AC476
square
#3A43C4 #C43A88 #C4BB3A #3AC476
split-complementary
#3A43C4 #C4763A #88C43A
monochromatic
#1E2366 #2C3395 #3A43C4 #6970D3 #989DE0

Accessibility & contrast

On white

7.55
#3A43C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#3A43C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A43C4
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A43C4#FFFFFF#000000##FFFFFF
##3A43C41.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC8
Deuteranopia (green-blind)
#004EC2
Tritanopia (blue-blind)
#00657D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3a43c4;
/* rgb */ color: rgb(58, 67, 196);
/* oklch */ color: oklch(46.2% 0.197 272.7);
Tailwind
colors: {
  custom: {
    50: '#8377d7',
    500: '#3a43c4',
    950: '#000000',
  },
}
SCSS
$custom: #3a43c4;
$custom-light: #8377d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3a43c4",
  "rgb": {
    "r": 58,
    "g": 67,
    "b": 196
  },
  "hsl": {
    "h": 236.087,
    "s": 54.331,
    "l": 49.804
  },
  "oklch": {
    "l": 0.46233,
    "c": 0.1974,
    "h": 272.7
  },
  "luminance": 0.08899
}

Semantic roles & 50–950 ramp

primary
#3A43C4
secondary
#CCC88E
accent
#D44ADE
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #3A43C4

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

Preview Lab → · Contrast checker → · Palette generator →

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