#3E548D#3E548D

#3E548D is a mid, moderate blue. Relative luminance 0.093; OKLCH L 45.6% C 0.097 H 266.7°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#3E548D
RGBrgb(62, 84, 141)
HSLhsl(223, 39%, 40%)
HSVhsv(223, 56%, 55%)
CMYKcmyk(56%, 40.4%, 0%, 44.7%)
CIE-LABlab(36.53, 9.32, -34.24)
CIE-LCHlch(36.53, 35.49, 285.23°)
OKLaboklab(45.61% -0.0057 -0.097)
OKLCHoklch(45.61% 0.097 266.7)
XYZxyz(9.9630, 9.2871, 26.4617)
Luminance0.0929 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E548D #8D773E
analogous
#3E7C8D #3E548D #503E8D
triadic
#3E548D #8D3E54 #548D3E
tetradic
#3E548D #8D3E7C #8D773E #3E8D50
square
#3E548D #8D3E7C #8D773E #3E8D50
split-complementary
#3E548D #8D503E #7C8D3E
monochromatic
#192138 #2B3B62 #3E548D #546FB4 #7F93C7

Accessibility & contrast

On white

7.35
#3E548D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E548D
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E548D#FFFFFF#000000##FFFFFF
##3E548D1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5A8F
Deuteranopia (green-blind)
#33538C
Tritanopia (blue-blind)
#126069
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3e548d;
/* rgb */ color: rgb(62, 84, 141);
/* oklch */ color: oklch(45.6% 0.097 266.7);
Tailwind
colors: {
  custom: {
    50: '#7983ae',
    500: '#3e548d',
    950: '#000000',
  },
}
SCSS
$custom: #3e548d;
$custom-light: #7983ae;
$custom-dark: #000000;
JSON
{
  "hex": "#3e548d",
  "rgb": {
    "r": 62,
    "g": 84,
    "b": 141
  },
  "hsl": {
    "h": 223.291,
    "s": 38.916,
    "l": 39.804
  },
  "oklch": {
    "l": 0.45606,
    "c": 0.09721,
    "h": 266.7
  },
  "luminance": 0.09288
}

Semantic roles & 50–950 ramp

primary
#3E548D
secondary
#B1A076
accent
#AE59CF
background
#F7F8FA
surface
#EEEFF4
border
#C9CACE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #3E548D

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

Preview Lab → · Contrast checker → · Palette generator →

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