#3E59D2#3E59D2

#3E59D2 is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.6% C 0.189 H 269.1°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#3E59D2
RGBrgb(62, 89, 210)
HSLhsl(229, 62%, 53%)
HSVhsv(229, 70%, 82%)
CMYKcmyk(70.5%, 57.6%, 0%, 17.6%)
CIE-LABlab(42.49, 30.63, -65.39)
CIE-LCHlch(42.49, 72.21, 295.10°)
OKLaboklab(51.59% -0.0028 -0.1885)
OKLCHoklch(51.59% 0.189 269.1)
XYZxyz(17.1878, 12.8203, 62.5290)
Luminance0.1282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E59D2 #D2B73E
analogous
#3EA3D2 #3E59D2 #6D3ED2
triadic
#3E59D2 #D23E59 #59D23E
tetradic
#3E59D2 #D23EA3 #D2B73E #3ED26D
square
#3E59D2 #D23EA3 #D2B73E #3ED26D
split-complementary
#3E59D2 #D26D3E #A3D23E
monochromatic
#1C2D79 #2840AB #3E59D2 #7084DE #A1AEE9

Accessibility & contrast

On white

5.89
#3E59D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#3E59D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E59D2
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E59D2#FFFFFF#000000##FFFFFF
##3E59D21.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD6
Deuteranopia (green-blind)
#005ED0
Tritanopia (blue-blind)
#00778D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3e59d2;
/* rgb */ color: rgb(62, 89, 210);
/* oklch */ color: oklch(51.6% 0.189 269.1);
Tailwind
colors: {
  custom: {
    50: '#8687e1',
    500: '#3e59d2',
    950: '#000000',
  },
}
SCSS
$custom: #3e59d2;
$custom-light: #8687e1;
$custom-dark: #000000;
JSON
{
  "hex": "#3e59d2",
  "rgb": {
    "r": 62,
    "g": 89,
    "b": 210
  },
  "hsl": {
    "h": 229.054,
    "s": 62.185,
    "l": 53.333
  },
  "oklch": {
    "l": 0.51594,
    "c": 0.18855,
    "h": 269.1
  },
  "luminance": 0.12822
}

Semantic roles & 50–950 ramp

primary
#3E59D2
secondary
#D6CA96
accent
#C843E5
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0D0B15
muted
#7D7C83

Preview Lab

Preview with #3E59D2

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

Preview Lab → · Contrast checker → · Palette generator →

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