#3E54BB#3E54BB

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

Color values

HEX#3E54BB
RGBrgb(62, 84, 187)
HSLhsl(229, 50%, 49%)
HSVhsv(229, 67%, 73%)
CMYKcmyk(66.8%, 55.1%, 0%, 26.7%)
CIE-LABlab(39.50, 25.62, -56.92)
CIE-LCHlch(39.50, 62.42, 294.23°)
OKLaboklab(48.82% 0.0005 -0.1637)
OKLCHoklch(48.82% 0.164 270.2)
XYZxyz(14.1235, 10.9513, 48.3736)
Luminance0.1095 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E54BB #BBA53E
analogous
#3E93BB #3E54BB #673EBB
triadic
#3E54BB #BB3E54 #54BB3E
tetradic
#3E54BB #BB3E93 #BBA53E #3EBB67
square
#3E54BB #BB3E93 #BBA53E #3EBB67
split-complementary
#3E54BB #BB673E #93BB3E
monochromatic
#202B5F #2F3F8D #3E54BB #697BCD #97A3DC

Accessibility & contrast

On white

6.58
#3E54BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#3E54BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E54BB
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E54BB#FFFFFF#000000##FFFFFF
##3E54BB1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063BF
Deuteranopia (green-blind)
#0058B9
Tritanopia (blue-blind)
#006D7F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3e54bb;
/* rgb */ color: rgb(62, 84, 187);
/* oklch */ color: oklch(48.8% 0.164 270.2);
Tailwind
colors: {
  custom: {
    50: '#8183d0',
    500: '#3e54bb',
    950: '#000000',
  },
}
SCSS
$custom: #3e54bb;
$custom-light: #8183d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3e54bb",
  "rgb": {
    "r": 62,
    "g": 84,
    "b": 187
  },
  "hsl": {
    "h": 229.44,
    "s": 50.201,
    "l": 48.824
  },
  "oklch": {
    "l": 0.48816,
    "c": 0.16369,
    "h": 270.2
  },
  "luminance": 0.10953
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3E54BB

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

Preview Lab → · Contrast checker → · Palette generator →

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