#3E509E#3E509E

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

Color values

HEX#3E509E
RGBrgb(62, 80, 158)
HSLhsl(229, 44%, 43%)
HSVhsv(229, 61%, 62%)
CMYKcmyk(60.8%, 49.4%, 0%, 38%)
CIE-LABlab(36.42, 17.89, -44.69)
CIE-LCHlch(36.42, 48.14, 291.81°)
OKLaboklab(45.86% 0.0019 -0.1277)
OKLCHoklch(45.86% 0.128 270.8)
XYZxyz(11.0248, 9.2292, 33.5416)
Luminance0.0923 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E509E #9E8C3E
analogous
#3E809E #3E509E #5C3E9E
triadic
#3E509E #9E3E50 #509E3E
tetradic
#3E509E #9E3E80 #9E8C3E #3E9E5C
square
#3E509E #9E3E80 #9E8C3E #3E9E5C
split-complementary
#3E509E #9E5C3E #809E3E
monochromatic
#1C2346 #2D3A72 #3E509E #5B6DBF #8794D0

Accessibility & contrast

On white

7.38
#3E509E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E509E
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E509E#FFFFFF#000000##FFFFFF
##3E509E1.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295AA1
Deuteranopia (green-blind)
#17529C
Tritanopia (blue-blind)
#00626F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3e509e;
/* rgb */ color: rgb(62, 80, 158);
/* oklch */ color: oklch(45.9% 0.128 270.8);
Tailwind
colors: {
  custom: {
    50: '#7c80bb',
    500: '#3e509e',
    950: '#000000',
  },
}
SCSS
$custom: #3e509e;
$custom-light: #7c80bb;
$custom-dark: #000000;
JSON
{
  "hex": "#3e509e",
  "rgb": {
    "r": 62,
    "g": 80,
    "b": 158
  },
  "hsl": {
    "h": 228.75,
    "s": 43.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.45856,
    "c": 0.12776,
    "h": 270.8
  },
  "luminance": 0.0923
}

Semantic roles & 50–950 ramp

primary
#3E509E
secondary
#BAAF7E
accent
#BC54D3
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #3E509E

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

Preview Lab → · Contrast checker → · Palette generator →

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