#3E58C4#3E58C4

#3E58C4 is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.3% C 0.171 H 269.2°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#3E58C4
RGBrgb(62, 88, 196)
HSLhsl(228, 53%, 51%)
HSVhsv(228, 68%, 77%)
CMYKcmyk(68.4%, 55.1%, 0%, 23.1%)
CIE-LABlab(41.20, 26.26, -59.42)
CIE-LCHlch(41.20, 64.96, 293.85°)
OKLaboklab(50.3% -0.0025 -0.171)
OKLCHoklch(50.3% 0.171 269.2)
XYZxyz(15.4367, 11.9876, 53.7142)
Luminance0.1199 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E58C4 #C4AA3E
analogous
#3E9BC4 #3E58C4 #673EC4
triadic
#3E58C4 #C43E58 #58C43E
tetradic
#3E58C4 #C43E9B #C4AA3E #3EC467
square
#3E58C4 #C43E9B #C4AA3E #3EC467
split-complementary
#3E58C4 #C4673E #9BC43E
monochromatic
#202E68 #2E4297 #3E58C4 #6D81D2 #9CA9E1

Accessibility & contrast

On white

6.18
#3E58C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#3E58C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E58C4
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E58C4#FFFFFF#000000##FFFFFF
##3E58C41.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067C8
Deuteranopia (green-blind)
#005BC2
Tritanopia (blue-blind)
#007285
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #3e58c4;
/* rgb */ color: rgb(62, 88, 196);
/* oklch */ color: oklch(50.3% 0.171 269.2);
Tailwind
colors: {
  custom: {
    50: '#8386d7',
    500: '#3e58c4',
    950: '#000000',
  },
}
SCSS
$custom: #3e58c4;
$custom-light: #8386d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3e58c4",
  "rgb": {
    "r": 62,
    "g": 88,
    "b": 196
  },
  "hsl": {
    "h": 228.358,
    "s": 53.175,
    "l": 50.588
  },
  "oklch": {
    "l": 0.50297,
    "c": 0.17099,
    "h": 269.2
  },
  "luminance": 0.11989
}

Semantic roles & 50–950 ramp

primary
#3E58C4
secondary
#CDC191
accent
#C04BDD
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #3E58C4

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

Preview Lab → · Contrast checker → · Palette generator →

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