#3E5BC4#3E5BC4

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

Color values

HEX#3E5BC4
RGBrgb(62, 91, 196)
HSLhsl(227, 53%, 51%)
HSVhsv(227, 68%, 77%)
CMYKcmyk(68.4%, 53.6%, 0%, 23.1%)
CIE-LABlab(41.98, 24.34, -58.14)
CIE-LCHlch(41.98, 63.03, 292.71°)
OKLaboklab(50.89% -0.0051 -0.1672)
OKLCHoklch(50.89% 0.167 268.3)
XYZxyz(15.6881, 12.4903, 53.7979)
Luminance0.1249 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E5BC4 #C4A73E
analogous
#3E9EC4 #3E5BC4 #643EC4
triadic
#3E5BC4 #C43E5B #5BC43E
tetradic
#3E5BC4 #C43E9E #C4A73E #3EC464
square
#3E5BC4 #C43E9E #C4A73E #3EC464
split-complementary
#3E5BC4 #C4643E #9EC43E
monochromatic
#202F68 #2E4597 #3E5BC4 #6D83D2 #9CABE1

Accessibility & contrast

On white

6.00
#3E5BC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#3E5BC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E5BC4
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E5BC4#FFFFFF#000000##FFFFFF
##3E5BC41.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E69C8
Deuteranopia (green-blind)
#005DC2
Tritanopia (blue-blind)
#007486
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #3e5bc4;
/* rgb */ color: rgb(62, 91, 196);
/* oklch */ color: oklch(50.9% 0.167 268.3);
Tailwind
colors: {
  custom: {
    50: '#8389d7',
    500: '#3e5bc4',
    950: '#000000',
  },
}
SCSS
$custom: #3e5bc4;
$custom-light: #8389d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3e5bc4",
  "rgb": {
    "r": 62,
    "g": 91,
    "b": 196
  },
  "hsl": {
    "h": 227.015,
    "s": 53.175,
    "l": 50.588
  },
  "oklch": {
    "l": 0.50891,
    "c": 0.16725,
    "h": 268.3
  },
  "luminance": 0.12492
}

Semantic roles & 50–950 ramp

primary
#3E5BC4
secondary
#CDC091
accent
#BD4BDD
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #3E5BC4

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

Preview Lab → · Contrast checker → · Palette generator →

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