#3E548E#3E548E

#3E548E is a mid, moderate blue. Relative luminance 0.093; OKLCH L 45.7% C 0.099 H 266.8°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#3E548E
RGBrgb(62, 84, 142)
HSLhsl(224, 39%, 40%)
HSVhsv(224, 56%, 56%)
CMYKcmyk(56.3%, 40.8%, 0%, 44.3%)
CIE-LABlab(36.59, 9.67, -34.76)
CIE-LCHlch(36.59, 36.08, 285.55°)
OKLaboklab(45.67% -0.0055 -0.0985)
OKLCHoklch(45.67% 0.099 266.8)
XYZxyz(10.0378, 9.3170, 26.8554)
Luminance0.0932 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E548E #8E783E
analogous
#3E7C8E #3E548E #503E8E
triadic
#3E548E #8E3E54 #548E3E
tetradic
#3E548E #8E3E7C #8E783E #3E8E50
square
#3E548E #8E3E7C #8E783E #3E8E50
split-complementary
#3E548E #8E503E #7C8E3E
monochromatic
#192239 #2B3B63 #3E548E #556FB5 #7F93C7

Accessibility & contrast

On white

7.33
#3E548E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#3E548E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E548E
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E548E#FFFFFF#000000##FFFFFF
##3E548E1.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5A90
Deuteranopia (green-blind)
#32538D
Tritanopia (blue-blind)
#10616A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3e548e;
/* rgb */ color: rgb(62, 84, 142);
/* oklch */ color: oklch(45.7% 0.099 266.8);
Tailwind
colors: {
  custom: {
    50: '#7983af',
    500: '#3e548e',
    950: '#000000',
  },
}
SCSS
$custom: #3e548e;
$custom-light: #7983af;
$custom-dark: #000000;
JSON
{
  "hex": "#3e548e",
  "rgb": {
    "r": 62,
    "g": 84,
    "b": 142
  },
  "hsl": {
    "h": 223.5,
    "s": 39.216,
    "l": 40
  },
  "oklch": {
    "l": 0.45668,
    "c": 0.0987,
    "h": 266.8
  },
  "luminance": 0.09318
}

Semantic roles & 50–950 ramp

primary
#3E548E
secondary
#B1A176
accent
#AF59CF
background
#F7F8FA
surface
#EEEFF4
border
#C9CACE
text
#0A0A10
muted
#7C7C7F

Preview Lab

Preview with #3E548E

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

Preview Lab → · Contrast checker → · Palette generator →

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