#3E5EC0#3E5EC0

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

Color values

HEX#3E5EC0
RGBrgb(62, 94, 192)
HSLhsl(225, 51%, 50%)
HSVhsv(225, 68%, 75%)
CMYKcmyk(67.7%, 51%, 0%, 24.7%)
CIE-LABlab(42.51, 20.97, -54.97)
CIE-LCHlch(42.51, 58.83, 290.88°)
OKLaboklab(51.2% -0.0081 -0.1578)
OKLCHoklch(51.2% 0.158 267.1)
XYZxyz(15.5004, 12.8338, 51.5192)
Luminance0.1283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E5EC0 #C0A03E
analogous
#3E9FC0 #3E5EC0 #5F3EC0
triadic
#3E5EC0 #C03E5E #5EC03E
tetradic
#3E5EC0 #C03E9F #C0A03E #3EC05F
square
#3E5EC0 #C03E9F #C0A03E #3EC05F
split-complementary
#3E5EC0 #C05F3E #9FC03E
monochromatic
#203163 #2F4792 #3E5EC0 #6C84CF #9AABDE

Accessibility & contrast

On white

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

On black

3.57
#3E5EC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3E5EC0#FFFFFF#000000##FFFFFF
##3E5EC01.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#236BC4
Deuteranopia (green-blind)
#005FBE
Tritanopia (blue-blind)
#007586
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3e5ec0;
/* rgb */ color: rgb(62, 94, 192);
/* oklch */ color: oklch(51.2% 0.158 267.1);
Tailwind
colors: {
  custom: {
    50: '#828bd4',
    500: '#3e5ec0',
    950: '#000000',
  },
}
SCSS
$custom: #3e5ec0;
$custom-light: #828bd4;
$custom-dark: #000000;
JSON
{
  "hex": "#3e5ec0",
  "rgb": {
    "r": 62,
    "g": 94,
    "b": 192
  },
  "hsl": {
    "h": 225.231,
    "s": 51.181,
    "l": 49.804
  },
  "oklch": {
    "l": 0.51202,
    "c": 0.158,
    "h": 267.1
  },
  "luminance": 0.12835
}

Semantic roles & 50–950 ramp

primary
#3E5EC0
secondary
#CABC8F
accent
#B84DDB
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #3E5EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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