#3E5CC6#3E5CC6

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

Color values

HEX#3E5CC6
RGBrgb(62, 92, 198)
HSLhsl(227, 54%, 51%)
HSVhsv(227, 69%, 78%)
CMYKcmyk(68.7%, 53.5%, 0%, 22.4%)
CIE-LABlab(42.39, 24.41, -58.64)
CIE-LCHlch(42.39, 63.52, 292.60°)
OKLaboklab(51.24% -0.0058 -0.1686)
OKLCHoklch(51.24% 0.169 268)
XYZxyz(16.0033, 12.7541, 55.0335)
Luminance0.1276 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E5CC6 #C6A83E
analogous
#3EA0C6 #3E5CC6 #643EC6
triadic
#3E5CC6 #C63E5C #5CC63E
tetradic
#3E5CC6 #C63EA0 #C6A83E #3EC664
square
#3E5CC6 #C63EA0 #C6A83E #3EC664
split-complementary
#3E5CC6 #C6643E #A0C63E
monochromatic
#1F306A #2D4599 #3E5CC6 #6D84D4 #9CACE2

Accessibility & contrast

On white

5.91
#3E5CC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#3E5CC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E5CC6
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E5CC6#FFFFFF#000000##FFFFFF
##3E5CC61.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E6BCA
Deuteranopia (green-blind)
#005EC4
Tritanopia (blue-blind)
#007588
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3e5cc6;
/* rgb */ color: rgb(62, 92, 198);
/* oklch */ color: oklch(51.2% 0.169 268.0);
Tailwind
colors: {
  custom: {
    50: '#8389d8',
    500: '#3e5cc6',
    950: '#000000',
  },
}
SCSS
$custom: #3e5cc6;
$custom-light: #8389d8;
$custom-dark: #000000;
JSON
{
  "hex": "#3e5cc6",
  "rgb": {
    "r": 62,
    "g": 92,
    "b": 198
  },
  "hsl": {
    "h": 226.765,
    "s": 54.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.51241,
    "c": 0.16873,
    "h": 268
  },
  "luminance": 0.12756
}

Semantic roles & 50–950 ramp

primary
#3E5CC6
secondary
#CEC192
accent
#BD4ADE
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3E5CC6

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

Preview Lab → · Contrast checker → · Palette generator →

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