#3E54AC#3E54AC

#3E54AC is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.7% C 0.143 H 269.7°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#3E54AC
RGBrgb(62, 84, 172)
HSLhsl(228, 47%, 46%)
HSVhsv(228, 64%, 67%)
CMYKcmyk(64%, 51.2%, 0%, 32.5%)
CIE-LABlab(38.45, 20.25, -49.78)
CIE-LCHlch(38.45, 53.74, 292.14°)
OKLaboklab(47.69% -0.0007 -0.1427)
OKLCHoklch(47.69% 0.143 269.7)
XYZxyz(12.6008, 10.3422, 40.3539)
Luminance0.1034 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E54AC #AC963E
analogous
#3E8BAC #3E54AC #5F3EAC
triadic
#3E54AC #AC3E54 #54AC3E
tetradic
#3E54AC #AC3E8B #AC963E #3EAC5F
square
#3E54AC #AC3E8B #AC963E #3EAC5F
split-complementary
#3E54AC #AC5F3E #8BAC3E
monochromatic
#1E2852 #2E3E7F #3E54AC #6175C6 #8E9DD6

Accessibility & contrast

On white

6.84
#3E54AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#3E54AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E54AC
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E54AC#FFFFFF#000000##FFFFFF
##3E54AC1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2260AF
Deuteranopia (green-blind)
#0056AA
Tritanopia (blue-blind)
#006878
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3e54ac;
/* rgb */ color: rgb(62, 84, 172);
/* oklch */ color: oklch(47.7% 0.143 269.7);
Tailwind
colors: {
  custom: {
    50: '#7f83c5',
    500: '#3e54ac',
    950: '#000000',
  },
}
SCSS
$custom: #3e54ac;
$custom-light: #7f83c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3e54ac",
  "rgb": {
    "r": 62,
    "g": 84,
    "b": 172
  },
  "hsl": {
    "h": 228,
    "s": 47.009,
    "l": 45.882
  },
  "oklch": {
    "l": 0.47692,
    "c": 0.14268,
    "h": 269.7
  },
  "luminance": 0.10343
}

Semantic roles & 50–950 ramp

primary
#3E54AC
secondary
#C1B585
accent
#BC51D7
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3E54AC

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

Preview Lab → · Contrast checker → · Palette generator →

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