#3E5BC2#3E5BC2

#3E5BC2 is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.7% C 0.165 H 268.2°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#3E5BC2
RGBrgb(62, 91, 194)
HSLhsl(227, 52%, 50%)
HSVhsv(227, 68%, 76%)
CMYKcmyk(68%, 53.1%, 0%, 23.9%)
CIE-LABlab(41.84, 23.62, -57.20)
CIE-LCHlch(41.84, 61.89, 292.43°)
OKLaboklab(50.74% -0.0052 -0.1644)
OKLCHoklch(50.74% 0.165 268.2)
XYZxyz(15.4619, 12.3998, 52.6070)
Luminance0.1240 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E5BC2 #C2A53E
analogous
#3E9DC2 #3E5BC2 #633EC2
triadic
#3E5BC2 #C23E5B #5BC23E
tetradic
#3E5BC2 #C23E9D #C2A53E #3EC263
square
#3E5BC2 #C23E9D #C2A53E #3EC263
split-complementary
#3E5BC2 #C2633E #9DC23E
monochromatic
#202F66 #2F4594 #3E5BC2 #6D83D1 #9BAADF

Accessibility & contrast

On white

6.03
#3E5BC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#3E5BC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E5BC2
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E5BC2#FFFFFF#000000##FFFFFF
##3E5BC21.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1469C6
Deuteranopia (green-blind)
#005DC0
Tritanopia (blue-blind)
#007486
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #3e5bc2;
/* rgb */ color: rgb(62, 91, 194);
/* oklch */ color: oklch(50.7% 0.165 268.2);
Tailwind
colors: {
  custom: {
    50: '#8289d5',
    500: '#3e5bc2',
    950: '#000000',
  },
}
SCSS
$custom: #3e5bc2;
$custom-light: #8289d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3e5bc2",
  "rgb": {
    "r": 62,
    "g": 91,
    "b": 194
  },
  "hsl": {
    "h": 226.818,
    "s": 51.969,
    "l": 50.196
  },
  "oklch": {
    "l": 0.5074,
    "c": 0.1645,
    "h": 268.2
  },
  "luminance": 0.12401
}

Semantic roles & 50–950 ramp

primary
#3E5BC2
secondary
#CBBE90
accent
#BC4CDB
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #3E5BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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