#3E5ED1#3E5ED1

#3E5ED1 is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.5% C 0.181 H 267.9°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#3E5ED1
RGBrgb(62, 94, 209)
HSLhsl(227, 62%, 53%)
HSVhsv(227, 70%, 82%)
CMYKcmyk(70.3%, 55%, 0%, 18%)
CIE-LABlab(43.70, 27.09, -62.86)
CIE-LCHlch(43.70, 68.45, 293.32°)
OKLaboklab(52.48% -0.0067 -0.181)
OKLCHoklch(52.48% 0.181 267.9)
XYZxyz(17.4940, 13.6312, 62.0184)
Luminance0.1363 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E5ED1 #D1B13E
analogous
#3EA7D1 #3E5ED1 #673ED1
triadic
#3E5ED1 #D13E5E #5ED13E
tetradic
#3E5ED1 #D13EA7 #D1B13E #3ED167
square
#3E5ED1 #D13EA7 #D1B13E #3ED167
split-complementary
#3E5ED1 #D1673E #A7D13E
monochromatic
#1D3078 #2844A9 #3E5ED1 #6F87DD #A1B0E9

Accessibility & contrast

On white

5.64
#3E5ED1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#3E5ED1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E5ED1
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E5ED1#FFFFFF#000000##FFFFFF
##3E5ED11.005.643.735.64
#FFFFFF5.641.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED5
Deuteranopia (green-blind)
#0061CF
Tritanopia (blue-blind)
#007A8E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #3e5ed1;
/* rgb */ color: rgb(62, 94, 209);
/* oklch */ color: oklch(52.5% 0.181 267.9);
Tailwind
colors: {
  custom: {
    50: '#858be0',
    500: '#3e5ed1',
    950: '#000000',
  },
}
SCSS
$custom: #3e5ed1;
$custom-light: #858be0;
$custom-dark: #000000;
JSON
{
  "hex": "#3e5ed1",
  "rgb": {
    "r": 62,
    "g": 94,
    "b": 209
  },
  "hsl": {
    "h": 226.939,
    "s": 61.506,
    "l": 53.137
  },
  "oklch": {
    "l": 0.52476,
    "c": 0.18113,
    "h": 267.9
  },
  "luminance": 0.13633
}

Semantic roles & 50–950 ramp

primary
#3E5ED1
secondary
#D5C796
accent
#C143E5
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3E5ED1

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

Preview Lab → · Contrast checker → · Palette generator →

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