#3E5ED9#3E5ED9

#3E5ED9 is a mid, vivid blue. Relative luminance 0.140; OKLCH L 53.1% C 0.192 H 268.1°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#3E5ED9
RGBrgb(62, 94, 217)
HSLhsl(228, 67%, 55%)
HSVhsv(228, 71%, 85%)
CMYKcmyk(71.4%, 56.7%, 0%, 14.9%)
CIE-LABlab(44.29, 29.96, -66.48)
CIE-LCHlch(44.29, 72.92, 294.26°)
OKLaboklab(53.1% -0.0064 -0.1916)
OKLCHoklch(53.1% 0.192 268.1)
XYZxyz(18.5094, 14.0374, 67.3662)
Luminance0.1404 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E5ED9 #D9B93E
analogous
#3EACD9 #3E5ED9 #6C3ED9
triadic
#3E5ED9 #D93E5E #5ED93E
tetradic
#3E5ED9 #D93EAC #D9B93E #3ED96C
square
#3E5ED9 #D93EAC #D9B93E #3ED96C
split-complementary
#3E5ED9 #D96C3E #ACD93E
monochromatic
#1A2F83 #2442B6 #3E5ED9 #7189E3 #A4B3ED

Accessibility & contrast

On white

5.51
#3E5ED9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#3E5ED9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E5ED9
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E5ED9#FFFFFF#000000##FFFFFF
##3E5ED91.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3e5ed9;
/* rgb */ color: rgb(62, 94, 217);
/* oklch */ color: oklch(53.1% 0.192 268.1);
Tailwind
colors: {
  custom: {
    50: '#878be6',
    500: '#3e5ed9',
    950: '#000000',
  },
}
SCSS
$custom: #3e5ed9;
$custom-light: #878be6;
$custom-dark: #000000;
JSON
{
  "hex": "#3e5ed9",
  "rgb": {
    "r": 62,
    "g": 94,
    "b": 217
  },
  "hsl": {
    "h": 227.613,
    "s": 67.1,
    "l": 54.706
  },
  "oklch": {
    "l": 0.53101,
    "c": 0.19176,
    "h": 268.1
  },
  "luminance": 0.14039
}

Semantic roles & 50–950 ramp

primary
#3E5ED9
secondary
#DACD99
accent
#C63EEA
background
#F9F8FE
surface
#F1F0FC
border
#CBCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #3E5ED9

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

Preview Lab → · Contrast checker → · Palette generator →

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