#3E58C2#3E58C2

#3E58C2 is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.1% C 0.168 H 269.1°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#3E58C2
RGBrgb(62, 88, 194)
HSLhsl(228, 52%, 50%)
HSVhsv(228, 68%, 76%)
CMYKcmyk(68%, 54.6%, 0%, 23.9%)
CIE-LABlab(41.05, 25.55, -58.49)
CIE-LCHlch(41.05, 63.82, 293.59°)
OKLaboklab(50.14% -0.0026 -0.1682)
OKLCHoklch(50.14% 0.168 269.1)
XYZxyz(15.2106, 11.8972, 52.5233)
Luminance0.1190 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E58C2 #C2A83E
analogous
#3E9AC2 #3E58C2 #663EC2
triadic
#3E58C2 #C23E58 #58C23E
tetradic
#3E58C2 #C23E9A #C2A83E #3EC266
square
#3E58C2 #C23E9A #C2A83E #3EC266
split-complementary
#3E58C2 #C2663E #9AC23E
monochromatic
#202E66 #2F4394 #3E58C2 #6D80D1 #9BA8DF

Accessibility & contrast

On white

6.21
#3E58C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#3E58C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E58C2
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E58C2#FFFFFF#000000##FFFFFF
##3E58C21.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067C6
Deuteranopia (green-blind)
#005BC0
Tritanopia (blue-blind)
#007184
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #3e58c2;
/* rgb */ color: rgb(62, 88, 194);
/* oklch */ color: oklch(50.1% 0.168 269.1);
Tailwind
colors: {
  custom: {
    50: '#8386d5',
    500: '#3e58c2',
    950: '#000000',
  },
}
SCSS
$custom: #3e58c2;
$custom-light: #8386d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3e58c2",
  "rgb": {
    "r": 62,
    "g": 88,
    "b": 194
  },
  "hsl": {
    "h": 228.182,
    "s": 51.969,
    "l": 50.196
  },
  "oklch": {
    "l": 0.50143,
    "c": 0.16826,
    "h": 269.1
  },
  "luminance": 0.11899
}

Semantic roles & 50–950 ramp

primary
#3E58C2
secondary
#CBC090
accent
#BF4CDB
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #3E58C2

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

Preview Lab → · Contrast checker → · Palette generator →

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