#3E5CC1#3E5CC1

#3E5CC1 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 50.9% C 0.162 H 267.8°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#3E5CC1
RGBrgb(62, 92, 193)
HSLhsl(226, 51%, 50%)
HSVhsv(226, 68%, 76%)
CMYKcmyk(67.9%, 52.3%, 0%, 24.3%)
CIE-LABlab(42.04, 22.61, -56.30)
CIE-LCHlch(42.04, 60.68, 291.88°)
OKLaboklab(50.87% -0.0062 -0.1618)
OKLCHoklch(50.87% 0.162 267.8)
XYZxyz(15.4361, 12.5272, 52.0462)
Luminance0.1253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E5CC1 #C1A33E
analogous
#3E9DC1 #3E5CC1 #623EC1
triadic
#3E5CC1 #C13E5C #5CC13E
tetradic
#3E5CC1 #C13E9D #C1A33E #3EC162
square
#3E5CC1 #C13E9D #C1A33E #3EC162
split-complementary
#3E5CC1 #C1623E #9DC13E
monochromatic
#203064 #2F4693 #3E5CC1 #6C83D0 #9BAADF

Accessibility & contrast

On white

5.99
#3E5CC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#3E5CC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E5CC1
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E5CC1#FFFFFF#000000##FFFFFF
##3E5CC11.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B69C5
Deuteranopia (green-blind)
#005EBF
Tritanopia (blue-blind)
#007485
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #3e5cc1;
/* rgb */ color: rgb(62, 92, 193);
/* oklch */ color: oklch(50.9% 0.162 267.8);
Tailwind
colors: {
  custom: {
    50: '#8289d4',
    500: '#3e5cc1',
    950: '#000000',
  },
}
SCSS
$custom: #3e5cc1;
$custom-light: #8289d4;
$custom-dark: #000000;
JSON
{
  "hex": "#3e5cc1",
  "rgb": {
    "r": 62,
    "g": 92,
    "b": 193
  },
  "hsl": {
    "h": 226.26,
    "s": 51.373,
    "l": 50
  },
  "oklch": {
    "l": 0.50867,
    "c": 0.16188,
    "h": 267.8
  },
  "luminance": 0.12529
}

Semantic roles & 50–950 ramp

primary
#3E5CC1
secondary
#CBBD90
accent
#BA4DDB
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #3E5CC1

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

Preview Lab → · Contrast checker → · Palette generator →

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