#3A43C2#3A43C2

#3A43C2 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 46.1% C 0.195 H 272.8°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#3A43C2
RGBrgb(58, 67, 194)
HSLhsl(236, 54%, 49%)
HSVhsv(236, 70%, 76%)
CMYKcmyk(70.1%, 65.5%, 0%, 23.9%)
CIE-LABlab(35.61, 38.33, -67.36)
CIE-LCHlch(35.61, 77.50, 299.64°)
OKLaboklab(46.05% 0.0095 -0.1946)
OKLCHoklch(46.05% 0.195 272.8)
XYZxyz(13.4864, 8.8076, 52.0178)
Luminance0.0881 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A43C2 #C2B93A
analogous
#3A87C2 #3A43C2 #753AC2
triadic
#3A43C2 #C23A43 #43C23A
tetradic
#3A43C2 #C23A87 #C2B93A #3AC275
square
#3A43C2 #C23A87 #C2B93A #3AC275
split-complementary
#3A43C2 #C2753A #87C23A
monochromatic
#1E2264 #2C3393 #3A43C2 #676FD2 #979BE0

Accessibility & contrast

On white

7.60
#3A43C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#3A43C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A43C2
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A43C2#FFFFFF#000000##FFFFFF
##3A43C21.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC6
Deuteranopia (green-blind)
#004DC0
Tritanopia (blue-blind)
#00647C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3a43c2;
/* rgb */ color: rgb(58, 67, 194);
/* oklch */ color: oklch(46.1% 0.195 272.8);
Tailwind
colors: {
  custom: {
    50: '#8277d6',
    500: '#3a43c2',
    950: '#000000',
  },
}
SCSS
$custom: #3a43c2;
$custom-light: #8277d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3a43c2",
  "rgb": {
    "r": 58,
    "g": 67,
    "b": 194
  },
  "hsl": {
    "h": 236.029,
    "s": 53.968,
    "l": 49.412
  },
  "oklch": {
    "l": 0.46051,
    "c": 0.19483,
    "h": 272.8
  },
  "luminance": 0.08809
}

Semantic roles & 50–950 ramp

primary
#3A43C2
secondary
#CBC78D
accent
#D44ADD
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #3A43C2

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

Preview Lab → · Contrast checker → · Palette generator →

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