#3E58D2#3E58D2

#3E58D2 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.4% C 0.190 H 269.4°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#3E58D2
RGBrgb(62, 88, 210)
HSLhsl(229, 62%, 53%)
HSVhsv(229, 70%, 82%)
CMYKcmyk(70.5%, 58.1%, 0%, 17.6%)
CIE-LABlab(42.24, 31.26, -65.80)
CIE-LCHlch(42.24, 72.85, 295.41°)
OKLaboklab(51.41% -0.002 -0.1897)
OKLCHoklch(51.41% 0.19 269.4)
XYZxyz(17.1052, 12.6550, 62.5015)
Luminance0.1266 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E58D2 #D2B83E
analogous
#3EA2D2 #3E58D2 #6E3ED2
triadic
#3E58D2 #D23E58 #58D23E
tetradic
#3E58D2 #D23EA2 #D2B83E #3ED26E
square
#3E58D2 #D23EA2 #D2B83E #3ED26E
split-complementary
#3E58D2 #D26E3E #A2D23E
monochromatic
#1C2D79 #283FAB #3E58D2 #7083DE #A1AEE9

Accessibility & contrast

On white

5.95
#3E58D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#3E58D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E58D2
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E58D2#FFFFFF#000000##FFFFFF
##3E58D21.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD6
Deuteranopia (green-blind)
#005DD0
Tritanopia (blue-blind)
#00768C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3e58d2;
/* rgb */ color: rgb(62, 88, 210);
/* oklch */ color: oklch(51.4% 0.190 269.4);
Tailwind
colors: {
  custom: {
    50: '#8686e1',
    500: '#3e58d2',
    950: '#000000',
  },
}
SCSS
$custom: #3e58d2;
$custom-light: #8686e1;
$custom-dark: #000000;
JSON
{
  "hex": "#3e58d2",
  "rgb": {
    "r": 62,
    "g": 88,
    "b": 210
  },
  "hsl": {
    "h": 229.459,
    "s": 62.185,
    "l": 53.333
  },
  "oklch": {
    "l": 0.51405,
    "c": 0.18976,
    "h": 269.4
  },
  "luminance": 0.12657
}

Semantic roles & 50–950 ramp

primary
#3E58D2
secondary
#D6CB96
accent
#C943E5
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0D0B15
muted
#7D7C83

Preview Lab

Preview with #3E58D2

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

Preview Lab → · Contrast checker → · Palette generator →

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