#3E509D#3E509D

#3E509D is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.8% C 0.126 H 270.8°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#3E509D
RGBrgb(62, 80, 157)
HSLhsl(229, 43%, 43%)
HSVhsv(229, 61%, 62%)
CMYKcmyk(60.5%, 49%, 0%, 38.4%)
CIE-LABlab(36.36, 17.53, -44.19)
CIE-LCHlch(36.36, 47.55, 291.64°)
OKLaboklab(45.79% 0.0018 -0.1263)
OKLCHoklch(45.79% 0.126 270.8)
XYZxyz(10.9390, 9.1949, 33.0901)
Luminance0.0920 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E509D #9D8B3E
analogous
#3E7F9D #3E509D #5C3E9D
triadic
#3E509D #9D3E50 #509D3E
tetradic
#3E509D #9D3E7F #9D8B3E #3E9D5C
square
#3E509D #9D3E7F #9D8B3E #3E9D5C
split-complementary
#3E509D #9D5C3E #7F9D3E
monochromatic
#1B2345 #2D3A71 #3E509D #5A6DBE #8694CF

Accessibility & contrast

On white

7.40
#3E509D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E509D
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E509D#FFFFFF#000000##FFFFFF
##3E509D1.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5AA0
Deuteranopia (green-blind)
#19529B
Tritanopia (blue-blind)
#00616F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3e509d;
/* rgb */ color: rgb(62, 80, 157);
/* oklch */ color: oklch(45.8% 0.126 270.8);
Tailwind
colors: {
  custom: {
    50: '#7c80ba',
    500: '#3e509d',
    950: '#000000',
  },
}
SCSS
$custom: #3e509d;
$custom-light: #7c80ba;
$custom-dark: #000000;
JSON
{
  "hex": "#3e509d",
  "rgb": {
    "r": 62,
    "g": 80,
    "b": 157
  },
  "hsl": {
    "h": 228.632,
    "s": 43.379,
    "l": 42.941
  },
  "oklch": {
    "l": 0.45786,
    "c": 0.1263,
    "h": 270.8
  },
  "luminance": 0.09196
}

Semantic roles & 50–950 ramp

primary
#3E509D
secondary
#BAAE7D
accent
#BB55D3
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #3E509D

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

Preview Lab → · Contrast checker → · Palette generator →

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