#3E5ECA#3E5ECA

#3E5ECA is a mid, vivid blue. Relative luminance 0.133; OKLCH L 51.9% C 0.172 H 267.6°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#3E5ECA
RGBrgb(62, 94, 202)
HSLhsl(226, 57%, 52%)
HSVhsv(226, 69%, 79%)
CMYKcmyk(69.3%, 53.5%, 0%, 20.8%)
CIE-LABlab(43.20, 24.57, -59.64)
CIE-LCHlch(43.20, 64.50, 292.39°)
OKLaboklab(51.94% -0.0072 -0.1715)
OKLCHoklch(51.94% 0.172 267.6)
XYZxyz(16.6463, 13.2921, 57.5540)
Luminance0.1329 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E5ECA #CAAA3E
analogous
#3EA4CA #3E5ECA #643ECA
triadic
#3E5ECA #CA3E5E #5ECA3E
tetradic
#3E5ECA #CA3EA4 #CAAA3E #3ECA64
square
#3E5ECA #CA3EA4 #CAAA3E #3ECA64
split-complementary
#3E5ECA #CA643E #A4CA3E
monochromatic
#1F316F #2C469F #3E5ECA #6E86D7 #9EAEE4

Accessibility & contrast

On white

5.74
#3E5ECA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#3E5ECA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E5ECA
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E5ECA#FFFFFF#000000##FFFFFF
##3E5ECA1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D6DCE
Deuteranopia (green-blind)
#0060C8
Tritanopia (blue-blind)
#00788B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #3e5eca;
/* rgb */ color: rgb(62, 94, 202);
/* oklch */ color: oklch(51.9% 0.172 267.6);
Tailwind
colors: {
  custom: {
    50: '#848bdb',
    500: '#3e5eca',
    950: '#000000',
  },
}
SCSS
$custom: #3e5eca;
$custom-light: #848bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#3e5eca",
  "rgb": {
    "r": 62,
    "g": 94,
    "b": 202
  },
  "hsl": {
    "h": 226.286,
    "s": 56.911,
    "l": 51.765
  },
  "oklch": {
    "l": 0.51942,
    "c": 0.17169,
    "h": 267.6
  },
  "luminance": 0.13294
}

Semantic roles & 50–950 ramp

primary
#3E5ECA
secondary
#D1C393
accent
#BD48E0
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3E5ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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