#3E54CA#3E54CA

#3E54CA is a mid, vivid blue. Relative luminance 0.116; OKLCH L 50.0% C 0.184 H 270.3°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#3E54CA
RGBrgb(62, 84, 202)
HSLhsl(231, 57%, 52%)
HSVhsv(231, 69%, 79%)
CMYKcmyk(69.3%, 58.4%, 0%, 20.8%)
CIE-LABlab(40.62, 30.96, -63.83)
CIE-LCHlch(40.62, 70.94, 295.87°)
OKLaboklab(50.01% 0.0009 -0.184)
OKLCHoklch(50.01% 0.184 270.3)
XYZxyz(15.8140, 11.6275, 57.2766)
Luminance0.1163 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E54CA #CAB43E
analogous
#3E9ACA #3E54CA #6E3ECA
triadic
#3E54CA #CA3E54 #54CA3E
tetradic
#3E54CA #CA3E9A #CAB43E #3ECA6E
square
#3E54CA #CA3E9A #CAB43E #3ECA6E
split-complementary
#3E54CA #CA6E3E #9ACA3E
monochromatic
#1F2B6F #2C3E9F #3E54CA #6E7FD7 #9EA9E4

Accessibility & contrast

On white

6.31
#3E54CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#3E54CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E54CA
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E54CA#FFFFFF#000000##FFFFFF
##3E54CA1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CE
Deuteranopia (green-blind)
#005AC8
Tritanopia (blue-blind)
#007187
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3e54ca;
/* rgb */ color: rgb(62, 84, 202);
/* oklch */ color: oklch(50.0% 0.184 270.3);
Tailwind
colors: {
  custom: {
    50: '#8483db',
    500: '#3e54ca',
    950: '#000000',
  },
}
SCSS
$custom: #3e54ca;
$custom-light: #8483db;
$custom-dark: #000000;
JSON
{
  "hex": "#3e54ca",
  "rgb": {
    "r": 62,
    "g": 84,
    "b": 202
  },
  "hsl": {
    "h": 230.571,
    "s": 56.911,
    "l": 51.765
  },
  "oklch": {
    "l": 0.50005,
    "c": 0.184,
    "h": 270.3
  },
  "luminance": 0.11629
}

Semantic roles & 50–950 ramp

primary
#3E54CA
secondary
#D1C793
accent
#C848E0
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3E54CA

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

Preview Lab → · Contrast checker → · Palette generator →

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