#3E508E#3E508E

#3E508E is a dark, moderate blue. Relative luminance 0.087; OKLCH L 44.8% C 0.104 H 269.6°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#3E508E
RGBrgb(62, 80, 142)
HSLhsl(227, 39%, 40%)
HSVhsv(227, 56%, 56%)
CMYKcmyk(56.3%, 43.7%, 0%, 44.3%)
CIE-LABlab(35.43, 12.28, -36.60)
CIE-LCHlch(35.43, 38.61, 288.55°)
OKLaboklab(44.78% -0.0006 -0.104)
OKLCHoklch(44.78% 0.104 269.6)
XYZxyz(9.7361, 8.7137, 26.7548)
Luminance0.0871 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E508E #8E7C3E
analogous
#3E788E #3E508E #543E8E
triadic
#3E508E #8E3E50 #508E3E
tetradic
#3E508E #8E3E78 #8E7C3E #3E8E54
square
#3E508E #8E3E78 #8E7C3E #3E8E54
split-complementary
#3E508E #8E543E #788E3E
monochromatic
#192039 #2B3863 #3E508E #556AB5 #7F8FC7

Accessibility & contrast

On white

7.66
#3E508E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#3E508E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E508E
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E508E#FFFFFF#000000##FFFFFF
##3E508E1.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365790
Deuteranopia (green-blind)
#2C508D
Tritanopia (blue-blind)
#125E68
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3e508e;
/* rgb */ color: rgb(62, 80, 142);
/* oklch */ color: oklch(44.8% 0.104 269.6);
Tailwind
colors: {
  custom: {
    50: '#7a80af',
    500: '#3e508e',
    950: '#000000',
  },
}
SCSS
$custom: #3e508e;
$custom-light: #7a80af;
$custom-dark: #000000;
JSON
{
  "hex": "#3e508e",
  "rgb": {
    "r": 62,
    "g": 80,
    "b": 142
  },
  "hsl": {
    "h": 226.5,
    "s": 39.216,
    "l": 40
  },
  "oklch": {
    "l": 0.44776,
    "c": 0.104,
    "h": 269.6
  },
  "luminance": 0.08714
}

Semantic roles & 50–950 ramp

primary
#3E508E
secondary
#B1A476
accent
#B459CF
background
#F7F7FA
surface
#EEEEF4
border
#C9C9CE
text
#0A0A10
muted
#7C7C7F

Preview Lab

Preview with #3E508E

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

Preview Lab → · Contrast checker → · Palette generator →

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