#3E5CCA#3E5CCA

#3E5CCA is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.5% C 0.174 H 268.2°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#3E5CCA
RGBrgb(62, 92, 202)
HSLhsl(227, 57%, 52%)
HSVhsv(227, 69%, 79%)
CMYKcmyk(69.3%, 54.5%, 0%, 20.8%)
CIE-LABlab(42.67, 25.85, -60.49)
CIE-LCHlch(42.67, 65.78, 293.14°)
OKLaboklab(51.54% -0.0055 -0.1741)
OKLCHoklch(51.54% 0.174 268.2)
XYZxyz(16.4707, 12.9411, 57.4955)
Luminance0.1294 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E5CCA #CAAC3E
analogous
#3EA2CA #3E5CCA #663ECA
triadic
#3E5CCA #CA3E5C #5CCA3E
tetradic
#3E5CCA #CA3EA2 #CAAC3E #3ECA66
square
#3E5CCA #CA3EA2 #CAAC3E #3ECA66
split-complementary
#3E5CCA #CA663E #A2CA3E
monochromatic
#1F306F #2C449F #3E5CCA #6E85D7 #9EADE4

Accessibility & contrast

On white

5.85
#3E5CCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#3E5CCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E5CCA
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E5CCA#FFFFFF#000000##FFFFFF
##3E5CCA1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCE
Deuteranopia (green-blind)
#005FC8
Tritanopia (blue-blind)
#00778A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3e5cca;
/* rgb */ color: rgb(62, 92, 202);
/* oklch */ color: oklch(51.5% 0.174 268.2);
Tailwind
colors: {
  custom: {
    50: '#8489db',
    500: '#3e5cca',
    950: '#000000',
  },
}
SCSS
$custom: #3e5cca;
$custom-light: #8489db;
$custom-dark: #000000;
JSON
{
  "hex": "#3e5cca",
  "rgb": {
    "r": 62,
    "g": 92,
    "b": 202
  },
  "hsl": {
    "h": 227.143,
    "s": 56.911,
    "l": 51.765
  },
  "oklch": {
    "l": 0.51545,
    "c": 0.17417,
    "h": 268.2
  },
  "luminance": 0.12943
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3E5CCA

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

Preview Lab → · Contrast checker → · Palette generator →

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