#3E43C5#3E43C5

#3E43C5 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.6% C 0.198 H 274.0°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#3E43C5
RGBrgb(62, 67, 197)
HSLhsl(238, 54%, 51%)
HSVhsv(238, 69%, 77%)
CMYKcmyk(68.5%, 66%, 0%, 22.7%)
CIE-LABlab(36.12, 39.85, -68.28)
CIE-LCHlch(36.12, 79.06, 300.27°)
OKLaboklab(46.56% 0.0137 -0.1972)
OKLCHoklch(46.56% 0.198 274)
XYZxyz(14.0685, 9.0683, 53.8215)
Luminance0.0907 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E43C5 #C5C03E
analogous
#3E86C5 #3E43C5 #7C3EC5
triadic
#3E43C5 #C53E43 #43C53E
tetradic
#3E43C5 #C53E86 #C5C03E #3EC57C
square
#3E43C5 #C53E86 #C5C03E #3EC57C
split-complementary
#3E43C5 #C57C3E #86C53E
monochromatic
#202269 #2E3298 #3E43C5 #6D71D3 #9C9FE1

Accessibility & contrast

On white

7.46
#3E43C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#3E43C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E43C5
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E43C5#FFFFFF#000000##FFFFFF
##3E43C51.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC9
Deuteranopia (green-blind)
#004FC3
Tritanopia (blue-blind)
#00657E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3e43c5;
/* rgb */ color: rgb(62, 67, 197);
/* oklch */ color: oklch(46.6% 0.198 274.0);
Tailwind
colors: {
  custom: {
    50: '#8577d8',
    500: '#3e43c5',
    950: '#000000',
  },
}
SCSS
$custom: #3e43c5;
$custom-light: #8577d8;
$custom-dark: #000000;
JSON
{
  "hex": "#3e43c5",
  "rgb": {
    "r": 62,
    "g": 67,
    "b": 197
  },
  "hsl": {
    "h": 237.778,
    "s": 53.785,
    "l": 50.784
  },
  "oklch": {
    "l": 0.46563,
    "c": 0.19767,
    "h": 274
  },
  "luminance": 0.0907
}

Semantic roles & 50–950 ramp

primary
#3E43C5
secondary
#CDCB91
accent
#D84BDD
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #3E43C5

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

Preview Lab → · Contrast checker → · Palette generator →

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