#3E548C#3E548C

#3E548C is a mid, moderate blue. Relative luminance 0.093; OKLCH L 45.5% C 0.096 H 266.5°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#3E548C
RGBrgb(62, 84, 140)
HSLhsl(223, 39%, 40%)
HSVhsv(223, 56%, 55%)
CMYKcmyk(55.7%, 40%, 0%, 45.1%)
CIE-LABlab(36.48, 8.98, -33.72)
CIE-LCHlch(36.48, 34.89, 284.91°)
OKLaboklab(45.55% -0.0059 -0.0955)
OKLCHoklch(45.55% 0.096 266.5)
XYZxyz(9.8890, 9.2575, 26.0716)
Luminance0.0926 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E548C #8C763E
analogous
#3E7B8C #3E548C #4F3E8C
triadic
#3E548C #8C3E54 #548C3E
tetradic
#3E548C #8C3E7B #8C763E #3E8C4F
square
#3E548C #8C3E7B #8C763E #3E8C4F
split-complementary
#3E548C #8C4F3E #7B8C3E
monochromatic
#182137 #2B3B62 #3E548C #546FB3 #7E93C6

Accessibility & contrast

On white

7.36
#3E548C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#3E548C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E548C
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E548C#FFFFFF#000000##FFFFFF
##3E548C1.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5A8E
Deuteranopia (green-blind)
#34538B
Tritanopia (blue-blind)
#146069
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3e548c;
/* rgb */ color: rgb(62, 84, 140);
/* oklch */ color: oklch(45.5% 0.096 266.5);
Tailwind
colors: {
  custom: {
    50: '#7983ae',
    500: '#3e548c',
    950: '#000000',
  },
}
SCSS
$custom: #3e548c;
$custom-light: #7983ae;
$custom-dark: #000000;
JSON
{
  "hex": "#3e548c",
  "rgb": {
    "r": 62,
    "g": 84,
    "b": 140
  },
  "hsl": {
    "h": 223.077,
    "s": 38.614,
    "l": 39.608
  },
  "oklch": {
    "l": 0.45545,
    "c": 0.0957,
    "h": 266.5
  },
  "luminance": 0.09258
}

Semantic roles & 50–950 ramp

primary
#3E548C
secondary
#B0A076
accent
#AD59CF
background
#F7F8FA
surface
#EEEFF4
border
#C9CACE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #3E548C

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

Preview Lab → · Contrast checker → · Palette generator →

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