#3E5CC3#3E5CC3

#3E5CC3 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.0% C 0.165 H 267.9°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#3E5CC3
RGBrgb(62, 92, 195)
HSLhsl(226, 53%, 50%)
HSVhsv(226, 68%, 76%)
CMYKcmyk(68.2%, 52.8%, 0%, 23.5%)
CIE-LABlab(42.18, 23.33, -57.24)
CIE-LCHlch(42.18, 61.82, 292.18°)
OKLaboklab(51.02% -0.006 -0.1645)
OKLCHoklch(51.02% 0.165 267.9)
XYZxyz(15.6607, 12.6170, 53.2292)
Luminance0.1262 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E5CC3 #C3A53E
analogous
#3E9EC3 #3E5CC3 #623EC3
triadic
#3E5CC3 #C33E5C #5CC33E
tetradic
#3E5CC3 #C33E9E #C3A53E #3EC362
square
#3E5CC3 #C33E9E #C3A53E #3EC362
split-complementary
#3E5CC3 #C3623E #9EC33E
monochromatic
#203067 #2E4695 #3E5CC3 #6D83D2 #9BABE0

Accessibility & contrast

On white

5.96
#3E5CC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#3E5CC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E5CC3
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E5CC3#FFFFFF#000000##FFFFFF
##3E5CC31.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#166AC7
Deuteranopia (green-blind)
#005EC1
Tritanopia (blue-blind)
#007586
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3e5cc3;
/* rgb */ color: rgb(62, 92, 195);
/* oklch */ color: oklch(51.0% 0.165 267.9);
Tailwind
colors: {
  custom: {
    50: '#8389d6',
    500: '#3e5cc3',
    950: '#000000',
  },
}
SCSS
$custom: #3e5cc3;
$custom-light: #8389d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3e5cc3",
  "rgb": {
    "r": 62,
    "g": 92,
    "b": 195
  },
  "hsl": {
    "h": 226.466,
    "s": 52.569,
    "l": 50.392
  },
  "oklch": {
    "l": 0.51016,
    "c": 0.16462,
    "h": 267.9
  },
  "luminance": 0.12619
}

Semantic roles & 50–950 ramp

primary
#3E5CC3
secondary
#CCBF91
accent
#BB4CDC
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #3E5CC3

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

Preview Lab → · Contrast checker → · Palette generator →

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