#3A43C3#3A43C3

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

Color values

HEX#3A43C3
RGBrgb(58, 67, 195)
HSLhsl(236, 54%, 50%)
HSVhsv(236, 70%, 76%)
CMYKcmyk(70.3%, 65.6%, 0%, 23.5%)
CIE-LABlab(35.70, 38.67, -67.80)
CIE-LCHlch(35.70, 78.06, 299.70°)
OKLaboklab(46.14% 0.0094 -0.1959)
OKLCHoklch(46.14% 0.196 272.8)
XYZxyz(13.5991, 8.8527, 52.6112)
Luminance0.0885 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A43C3 #C3BA3A
analogous
#3A88C3 #3A43C3 #753AC3
triadic
#3A43C3 #C33A43 #43C33A
tetradic
#3A43C3 #C33A88 #C3BA3A #3AC375
square
#3A43C3 #C33A88 #C3BA3A #3AC375
split-complementary
#3A43C3 #C3753A #88C33A
monochromatic
#1E2365 #2C3394 #3A43C3 #686FD2 #979CE0

Accessibility & contrast

On white

7.58
#3A43C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#3A43C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A43C3
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A43C3#FFFFFF#000000##FFFFFF
##3A43C31.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a43c3;
/* rgb */ color: rgb(58, 67, 195);
/* oklch */ color: oklch(46.1% 0.196 272.8);
Tailwind
colors: {
  custom: {
    50: '#8377d6',
    500: '#3a43c3',
    950: '#000000',
  },
}
SCSS
$custom: #3a43c3;
$custom-light: #8377d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3a43c3",
  "rgb": {
    "r": 58,
    "g": 67,
    "b": 195
  },
  "hsl": {
    "h": 236.058,
    "s": 54.15,
    "l": 49.608
  },
  "oklch": {
    "l": 0.46142,
    "c": 0.19612,
    "h": 272.8
  },
  "luminance": 0.08854
}

Semantic roles & 50–950 ramp

primary
#3A43C3
secondary
#CCC88D
accent
#D44ADE
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #3A43C3

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

Preview Lab → · Contrast checker → · Palette generator →

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