#3E43C6#3E43C6

#3E43C6 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.7% C 0.199 H 273.9°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#3E43C6
RGBrgb(62, 67, 198)
HSLhsl(238, 54%, 51%)
HSVhsv(238, 69%, 78%)
CMYKcmyk(68.7%, 66.2%, 0%, 22.4%)
CIE-LABlab(36.20, 40.19, -68.72)
CIE-LCHlch(36.20, 79.61, 300.32°)
OKLaboklab(46.65% 0.0136 -0.1985)
OKLCHoklch(46.65% 0.199 273.9)
XYZxyz(14.1834, 9.1143, 54.4269)
Luminance0.0912 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E43C6 #C6C13E
analogous
#3E87C6 #3E43C6 #7D3EC6
triadic
#3E43C6 #C63E43 #43C63E
tetradic
#3E43C6 #C63E87 #C6C13E #3EC67D
square
#3E43C6 #C63E87 #C6C13E #3EC67D
split-complementary
#3E43C6 #C67D3E #87C63E
monochromatic
#1F226A #2D3199 #3E43C6 #6D71D4 #9C9FE2

Accessibility & contrast

On white

7.44
#3E43C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#3E43C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E43C6
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E43C6#FFFFFF#000000##FFFFFF
##3E43C61.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCA
Deuteranopia (green-blind)
#004FC4
Tritanopia (blue-blind)
#00667F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3e43c6;
/* rgb */ color: rgb(62, 67, 198);
/* oklch */ color: oklch(46.7% 0.199 273.9);
Tailwind
colors: {
  custom: {
    50: '#8577d8',
    500: '#3e43c6',
    950: '#000000',
  },
}
SCSS
$custom: #3e43c6;
$custom-light: #8577d8;
$custom-dark: #000000;
JSON
{
  "hex": "#3e43c6",
  "rgb": {
    "r": 62,
    "g": 67,
    "b": 198
  },
  "hsl": {
    "h": 237.794,
    "s": 54.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.46654,
    "c": 0.19895,
    "h": 273.9
  },
  "luminance": 0.09116
}

Semantic roles & 50–950 ramp

primary
#3E43C6
secondary
#CECC92
accent
#D84ADE
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #3E43C6

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

Preview Lab → · Contrast checker → · Palette generator →

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