#3E54BA#3E54BA

#3E54BA is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.7% C 0.162 H 270.1°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#3E54BA
RGBrgb(62, 84, 186)
HSLhsl(229, 50%, 49%)
HSVhsv(229, 67%, 73%)
CMYKcmyk(66.7%, 54.8%, 0%, 27.1%)
CIE-LABlab(39.43, 25.26, -56.45)
CIE-LCHlch(39.43, 61.85, 294.10°)
OKLaboklab(48.74% 0.0004 -0.1623)
OKLCHoklch(48.74% 0.162 270.1)
XYZxyz(14.0168, 10.9087, 47.8118)
Luminance0.1091 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E54BA #BAA43E
analogous
#3E92BA #3E54BA #663EBA
triadic
#3E54BA #BA3E54 #54BA3E
tetradic
#3E54BA #BA3E92 #BAA43E #3EBA66
square
#3E54BA #BA3E92 #BAA43E #3EBA66
split-complementary
#3E54BA #BA663E #92BA3E
monochromatic
#1F2B5E #2F3F8C #3E54BA #687ACD #96A3DC

Accessibility & contrast

On white

6.60
#3E54BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#3E54BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E54BA
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E54BA#FFFFFF#000000##FFFFFF
##3E54BA1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063BE
Deuteranopia (green-blind)
#0057B8
Tritanopia (blue-blind)
#006C7F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3e54ba;
/* rgb */ color: rgb(62, 84, 186);
/* oklch */ color: oklch(48.7% 0.162 270.1);
Tailwind
colors: {
  custom: {
    50: '#8183cf',
    500: '#3e54ba',
    950: '#000000',
  },
}
SCSS
$custom: #3e54ba;
$custom-light: #8183cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3e54ba",
  "rgb": {
    "r": 62,
    "g": 84,
    "b": 186
  },
  "hsl": {
    "h": 229.355,
    "s": 50,
    "l": 48.627
  },
  "oklch": {
    "l": 0.48739,
    "c": 0.16231,
    "h": 270.1
  },
  "luminance": 0.1091
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3E54BA

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

Preview Lab → · Contrast checker → · Palette generator →

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