#3E45C2#3E45C2

#3E45C2 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.6% C 0.191 H 273.8°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#3E45C2
RGBrgb(62, 69, 194)
HSLhsl(237, 52%, 50%)
HSVhsv(237, 68%, 76%)
CMYKcmyk(68%, 64.4%, 0%, 23.9%)
CIE-LABlab(36.32, 37.60, -66.20)
CIE-LCHlch(36.32, 76.13, 299.60°)
OKLaboklab(46.63% 0.0125 -0.1911)
OKLCHoklch(46.63% 0.191 273.8)
XYZxyz(13.8491, 9.1741, 52.0694)
Luminance0.0917 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E45C2 #C2BB3E
analogous
#3E87C2 #3E45C2 #793EC2
triadic
#3E45C2 #C23E45 #45C23E
tetradic
#3E45C2 #C23E87 #C2BB3E #3EC279
square
#3E45C2 #C23E87 #C2BB3E #3EC279
split-complementary
#3E45C2 #C2793E #87C23E
monochromatic
#202466 #2F3494 #3E45C2 #6D72D1 #9B9FDF

Accessibility & contrast

On white

7.41
#3E45C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#3E45C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E45C2
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E45C2#FFFFFF#000000##FFFFFF
##3E45C21.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC6
Deuteranopia (green-blind)
#004FC0
Tritanopia (blue-blind)
#00657D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3e45c2;
/* rgb */ color: rgb(62, 69, 194);
/* oklch */ color: oklch(46.6% 0.191 273.8);
Tailwind
colors: {
  custom: {
    50: '#8479d5',
    500: '#3e45c2',
    950: '#000000',
  },
}
SCSS
$custom: #3e45c2;
$custom-light: #8479d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3e45c2",
  "rgb": {
    "r": 62,
    "g": 69,
    "b": 194
  },
  "hsl": {
    "h": 236.818,
    "s": 51.969,
    "l": 50.196
  },
  "oklch": {
    "l": 0.4663,
    "c": 0.19149,
    "h": 273.8
  },
  "luminance": 0.09175
}

Semantic roles & 50–950 ramp

primary
#3E45C2
secondary
#CBC890
accent
#D44CDB
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #3E45C2

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

Preview Lab → · Contrast checker → · Palette generator →

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