#3E54D2#3E54D2

#3E54D2 is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.7% C 0.195 H 270.3°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#3E54D2
RGBrgb(62, 84, 210)
HSLhsl(231, 62%, 53%)
HSVhsv(231, 70%, 82%)
CMYKcmyk(70.5%, 60%, 0%, 17.6%)
CIE-LABlab(41.24, 33.79, -67.43)
CIE-LCHlch(41.24, 75.42, 296.62°)
OKLaboklab(50.66% 0.0009 -0.1946)
OKLCHoklch(50.66% 0.195 270.3)
XYZxyz(16.7858, 12.0162, 62.3950)
Luminance0.1202 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E54D2 #D2BC3E
analogous
#3E9ED2 #3E54D2 #723ED2
triadic
#3E54D2 #D23E54 #54D23E
tetradic
#3E54D2 #D23E9E #D2BC3E #3ED272
square
#3E54D2 #D23E9E #D2BC3E #3ED272
split-complementary
#3E54D2 #D2723E #9ED23E
monochromatic
#1C2A79 #283BAB #3E54D2 #7080DE #A1ACE9

Accessibility & contrast

On white

6.17
#3E54D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#3E54D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E54D2
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E54D2#FFFFFF#000000##FFFFFF
##3E54D21.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D6
Deuteranopia (green-blind)
#005BD0
Tritanopia (blue-blind)
#00748B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #3e54d2;
/* rgb */ color: rgb(62, 84, 210);
/* oklch */ color: oklch(50.7% 0.195 270.3);
Tailwind
colors: {
  custom: {
    50: '#8684e1',
    500: '#3e54d2',
    950: '#000000',
  },
}
SCSS
$custom: #3e54d2;
$custom-light: #8684e1;
$custom-dark: #000000;
JSON
{
  "hex": "#3e54d2",
  "rgb": {
    "r": 62,
    "g": 84,
    "b": 210
  },
  "hsl": {
    "h": 231.081,
    "s": 62.185,
    "l": 53.333
  },
  "oklch": {
    "l": 0.50664,
    "c": 0.19457,
    "h": 270.3
  },
  "luminance": 0.12018
}

Semantic roles & 50–950 ramp

primary
#3E54D2
secondary
#D6CC96
accent
#CD43E5
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #3E54D2

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

Preview Lab → · Contrast checker → · Palette generator →

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