#3E5FE6#3E5FE6

#3E5FE6 is a mid, highly saturated blue. Relative luminance 0.149; OKLCH L 54.3% C 0.208 H 268.1°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#3E5FE6
RGBrgb(62, 95, 230)
HSLhsl(228, 77%, 57%)
HSVhsv(228, 73%, 90%)
CMYKcmyk(73%, 58.7%, 0%, 9.8%)
CIE-LABlab(45.52, 33.96, -71.84)
CIE-LCHlch(45.52, 79.47, 295.30°)
OKLaboklab(54.33% -0.0068 -0.2074)
OKLCHoklch(54.33% 0.208 268.1)
XYZxyz(20.3568, 14.9195, 76.6545)
Luminance0.1492 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E5FE6 #E6C53E
analogous
#3EB3E6 #3E5FE6 #713EE6
triadic
#3E5FE6 #E63E5F #5FE63E
tetradic
#3E5FE6 #E63EB3 #E6C53E #3EE671
square
#3E5FE6 #E63EB3 #E6C53E #3EE671
split-complementary
#3E5FE6 #E6713E #B3E63E
monochromatic
#132D96 #1A3DCC #3E5FE6 #748CED #AAB9F4

Accessibility & contrast

On white

5.27
#3E5FE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#3E5FE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E5FE6
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E5FE6#FFFFFF#000000##FFFFFF
##3E5FE61.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074EA
Deuteranopia (green-blind)
#0064E3
Tritanopia (blue-blind)
#008199
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #3e5fe6;
/* rgb */ color: rgb(62, 95, 230);
/* oklch */ color: oklch(54.3% 0.208 268.1);
Tailwind
colors: {
  custom: {
    50: '#8a8cef',
    500: '#3e5fe6',
    950: '#000000',
  },
}
SCSS
$custom: #3e5fe6;
$custom-light: #8a8cef;
$custom-dark: #000000;
JSON
{
  "hex": "#3e5fe6",
  "rgb": {
    "r": 62,
    "g": 95,
    "b": 230
  },
  "hsl": {
    "h": 228.214,
    "s": 77.064,
    "l": 57.255
  },
  "oklch": {
    "l": 0.54334,
    "c": 0.20751,
    "h": 268.1
  },
  "luminance": 0.14922
}

Semantic roles & 50–950 ramp

primary
#3E5FE6
secondary
#E2D59E
accent
#CE34F4
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0D0C17
muted
#7E7D85

Preview Lab

Preview with #3E5FE6

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

Preview Lab → · Contrast checker → · Palette generator →

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