#3E54D3#3E54D3

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

Color values

HEX#3E54D3
RGBrgb(62, 84, 211)
HSLhsl(231, 63%, 54%)
HSVhsv(231, 71%, 83%)
CMYKcmyk(70.6%, 60.2%, 0%, 17.3%)
CIE-LABlab(41.32, 34.15, -67.87)
CIE-LCHlch(41.32, 75.98, 296.71°)
OKLaboklab(50.75% 0.0009 -0.1959)
OKLCHoklch(50.75% 0.196 270.3)
XYZxyz(16.9108, 12.0662, 63.0532)
Luminance0.1207 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E54D3 #D3BD3E
analogous
#3E9ED3 #3E54D3 #723ED3
triadic
#3E54D3 #D33E54 #54D33E
tetradic
#3E54D3 #D33E9E #D3BD3E #3ED372
square
#3E54D3 #D33E9E #D3BD3E #3ED372
split-complementary
#3E54D3 #D3723E #9ED33E
monochromatic
#1C2A7B #273BAC #3E54D3 #7080DE #A2ACEA

Accessibility & contrast

On white

6.15
#3E54D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#3E54D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E54D3
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E54D3#FFFFFF#000000##FFFFFF
##3E54D31.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D7
Deuteranopia (green-blind)
#005BD1
Tritanopia (blue-blind)
#00748B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #3e54d3;
/* rgb */ color: rgb(62, 84, 211);
/* oklch */ color: oklch(50.7% 0.196 270.3);
Tailwind
colors: {
  custom: {
    50: '#8684e1',
    500: '#3e54d3',
    950: '#000000',
  },
}
SCSS
$custom: #3e54d3;
$custom-light: #8684e1;
$custom-dark: #000000;
JSON
{
  "hex": "#3e54d3",
  "rgb": {
    "r": 62,
    "g": 84,
    "b": 211
  },
  "hsl": {
    "h": 231.141,
    "s": 62.869,
    "l": 53.529
  },
  "oklch": {
    "l": 0.50748,
    "c": 0.19587,
    "h": 270.3
  },
  "luminance": 0.12068
}

Semantic roles & 50–950 ramp

primary
#3E54D3
secondary
#D6CD96
accent
#CE42E6
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #3E54D3

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

Preview Lab → · Contrast checker → · Palette generator →

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