#3E54C4#3E54C4

#3E54C4 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.5% C 0.176 H 270.3°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#3E54C4
RGBrgb(62, 84, 196)
HSLhsl(230, 53%, 51%)
HSVhsv(230, 68%, 77%)
CMYKcmyk(68.4%, 57.1%, 0%, 23.1%)
CIE-LABlab(40.16, 28.83, -61.09)
CIE-LCHlch(40.16, 67.55, 295.26°)
OKLaboklab(49.52% 0.0008 -0.176)
OKLCHoklch(49.52% 0.176 270.3)
XYZxyz(15.1173, 11.3489, 53.6077)
Luminance0.1135 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E54C4 #C4AE3E
analogous
#3E97C4 #3E54C4 #6B3EC4
triadic
#3E54C4 #C43E54 #54C43E
tetradic
#3E54C4 #C43E97 #C4AE3E #3EC46B
square
#3E54C4 #C43E97 #C4AE3E #3EC46B
split-complementary
#3E54C4 #C46B3E #97C43E
monochromatic
#202C68 #2E3F97 #3E54C4 #6D7ED2 #9CA7E1

Accessibility & contrast

On white

6.42
#3E54C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#3E54C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E54C4
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E54C4#FFFFFF#000000##FFFFFF
##3E54C41.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C8
Deuteranopia (green-blind)
#0059C2
Tritanopia (blue-blind)
#006F84
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #3e54c4;
/* rgb */ color: rgb(62, 84, 196);
/* oklch */ color: oklch(49.5% 0.176 270.3);
Tailwind
colors: {
  custom: {
    50: '#8383d7',
    500: '#3e54c4',
    950: '#000000',
  },
}
SCSS
$custom: #3e54c4;
$custom-light: #8383d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3e54c4",
  "rgb": {
    "r": 62,
    "g": 84,
    "b": 196
  },
  "hsl": {
    "h": 230.149,
    "s": 53.175,
    "l": 50.588
  },
  "oklch": {
    "l": 0.49522,
    "c": 0.17596,
    "h": 270.3
  },
  "luminance": 0.1135
}

Semantic roles & 50–950 ramp

primary
#3E54C4
secondary
#CDC391
accent
#C54BDD
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #3E54C4

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

Preview Lab → · Contrast checker → · Palette generator →

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