#3E54BC#3E54BC

#3E54BC is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.9% C 0.165 H 270.2°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#3E54BC
RGBrgb(62, 84, 188)
HSLhsl(230, 50%, 49%)
HSVhsv(230, 67%, 74%)
CMYKcmyk(67%, 55.3%, 0%, 26.3%)
CIE-LABlab(39.57, 25.97, -57.39)
CIE-LCHlch(39.57, 62.99, 294.35°)
OKLaboklab(48.89% 0.0005 -0.1651)
OKLCHoklch(48.89% 0.165 270.2)
XYZxyz(14.2309, 10.9943, 48.9393)
Luminance0.1100 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E54BC #BCA63E
analogous
#3E93BC #3E54BC #673EBC
triadic
#3E54BC #BC3E54 #54BC3E
tetradic
#3E54BC #BC3E93 #BCA63E #3EBC67
square
#3E54BC #BC3E93 #BCA63E #3EBC67
split-complementary
#3E54BC #BC673E #93BC3E
monochromatic
#202B60 #2F3F8E #3E54BC #6A7BCE #98A4DD

Accessibility & contrast

On white

6.56
#3E54BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#3E54BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E54BC
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E54BC#FFFFFF#000000##FFFFFF
##3E54BC1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C0
Deuteranopia (green-blind)
#0058BA
Tritanopia (blue-blind)
#006D80
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3e54bc;
/* rgb */ color: rgb(62, 84, 188);
/* oklch */ color: oklch(48.9% 0.165 270.2);
Tailwind
colors: {
  custom: {
    50: '#8283d1',
    500: '#3e54bc',
    950: '#000000',
  },
}
SCSS
$custom: #3e54bc;
$custom-light: #8283d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3e54bc",
  "rgb": {
    "r": 62,
    "g": 84,
    "b": 188
  },
  "hsl": {
    "h": 229.524,
    "s": 50.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.48893,
    "c": 0.16506,
    "h": 270.2
  },
  "luminance": 0.10996
}

Semantic roles & 50–950 ramp

primary
#3E54BC
secondary
#C9BE8D
accent
#C14EDA
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0A14
muted
#7D7C82

Preview Lab

Preview with #3E54BC

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

Preview Lab → · Contrast checker → · Palette generator →

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