#3E5FD9#3E5FD9

#3E5FD9 is a mid, vivid blue. Relative luminance 0.142; OKLCH L 53.3% C 0.191 H 267.9°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#3E5FD9
RGBrgb(62, 95, 217)
HSLhsl(227, 67%, 55%)
HSVhsv(227, 71%, 85%)
CMYKcmyk(71.4%, 56.2%, 0%, 14.9%)
CIE-LABlab(44.54, 29.33, -66.06)
CIE-LCHlch(44.54, 72.28, 293.94°)
OKLaboklab(53.29% -0.0071 -0.1904)
OKLCHoklch(53.29% 0.191 267.9)
XYZxyz(18.5989, 14.2164, 67.3960)
Luminance0.1422 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E5FD9 #D9B83E
analogous
#3EACD9 #3E5FD9 #6B3ED9
triadic
#3E5FD9 #D93E5F #5FD93E
tetradic
#3E5FD9 #D93EAC #D9B83E #3ED96B
square
#3E5FD9 #D93EAC #D9B83E #3ED96B
split-complementary
#3E5FD9 #D96B3E #ACD93E
monochromatic
#1A3083 #2443B6 #3E5FD9 #7189E3 #A4B4ED

Accessibility & contrast

On white

5.46
#3E5FD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#3E5FD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E5FD9
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E5FD9#FFFFFF#000000##FFFFFF
##3E5FD91.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DD
Deuteranopia (green-blind)
#0062D7
Tritanopia (blue-blind)
#007D93
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #3e5fd9;
/* rgb */ color: rgb(62, 95, 217);
/* oklch */ color: oklch(53.3% 0.191 267.9);
Tailwind
colors: {
  custom: {
    50: '#878ce6',
    500: '#3e5fd9',
    950: '#000000',
  },
}
SCSS
$custom: #3e5fd9;
$custom-light: #878ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#3e5fd9",
  "rgb": {
    "r": 62,
    "g": 95,
    "b": 217
  },
  "hsl": {
    "h": 227.226,
    "s": 67.1,
    "l": 54.706
  },
  "oklch": {
    "l": 0.53292,
    "c": 0.19055,
    "h": 267.9
  },
  "luminance": 0.14218
}

Semantic roles & 50–950 ramp

primary
#3E5FD9
secondary
#DACC99
accent
#C53EEA
background
#F9F8FE
surface
#F1F0FC
border
#CBCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #3E5FD9

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

Preview Lab → · Contrast checker → · Palette generator →

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