#3E548A#3E548A

#3E548A is a mid, moderate blue. Relative luminance 0.092; OKLCH L 45.4% C 0.093 H 266.1°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#3E548A
RGBrgb(62, 84, 138)
HSLhsl(223, 38%, 39%)
HSVhsv(223, 55%, 54%)
CMYKcmyk(55.1%, 39.1%, 0%, 45.9%)
CIE-LABlab(36.36, 8.29, -32.68)
CIE-LCHlch(36.36, 33.71, 284.24°)
OKLaboklab(45.42% -0.0064 -0.0925)
OKLCHoklch(45.42% 0.093 266.1)
XYZxyz(9.7428, 9.1991, 25.3020)
Luminance0.0920 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E548A #8A743E
analogous
#3E7A8A #3E548A #4E3E8A
triadic
#3E548A #8A3E54 #548A3E
tetradic
#3E548A #8A3E7A #8A743E #3E8A4E
square
#3E548A #8A3E7A #8A743E #3E8A4E
split-complementary
#3E548A #8A4E3E #7A8A3E
monochromatic
#182136 #2B3A60 #3E548A #536FB2 #7E92C5

Accessibility & contrast

On white

7.39
#3E548A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#3E548A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E548A
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E548A#FFFFFF#000000##FFFFFF
##3E548A1.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E598C
Deuteranopia (green-blind)
#355289
Tritanopia (blue-blind)
#166068
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3e548a;
/* rgb */ color: rgb(62, 84, 138);
/* oklch */ color: oklch(45.4% 0.093 266.1);
Tailwind
colors: {
  custom: {
    50: '#7983ac',
    500: '#3e548a',
    950: '#000000',
  },
}
SCSS
$custom: #3e548a;
$custom-light: #7983ac;
$custom-dark: #000000;
JSON
{
  "hex": "#3e548a",
  "rgb": {
    "r": 62,
    "g": 84,
    "b": 138
  },
  "hsl": {
    "h": 222.632,
    "s": 38,
    "l": 39.216
  },
  "oklch": {
    "l": 0.45423,
    "c": 0.09269,
    "h": 266.1
  },
  "luminance": 0.092
}

Semantic roles & 50–950 ramp

primary
#3E548A
secondary
#AF9E75
accent
#AC5ACE
background
#F7F8FA
surface
#EEEFF4
border
#C9CACE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #3E548A

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

Preview Lab → · Contrast checker → · Palette generator →

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