#3E2EA7#3E2EA7

#3E2EA7 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.5% C 0.183 H 280.4°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#3E2EA7
RGBrgb(62, 46, 167)
HSLhsl(248, 57%, 42%)
HSVhsv(248, 72%, 65%)
CMYKcmyk(62.9%, 72.5%, 0%, 34.5%)
CIE-LABlab(28.82, 42.36, -62.47)
CIE-LCHlch(28.82, 75.48, 304.14°)
OKLaboklab(40.47% 0.033 -0.1802)
OKLCHoklch(40.47% 0.183 280.4)
XYZxyz(9.9364, 5.7674, 37.1413)
Luminance0.0577 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2EA7 #97A72E
analogous
#2E5BA7 #3E2EA7 #7B2EA7
triadic
#3E2EA7 #A73E2E #2EA73E
tetradic
#3E2EA7 #A72E5B #97A72E #2EA77B
square
#3E2EA7 #A72E5B #97A72E #2EA77B
split-complementary
#3E2EA7 #A77B2E #5BA72E
monochromatic
#1A1447 #2C2177 #3E2EA7 #5846CC #8376D9

Accessibility & contrast

On white

9.75
#3E2EA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#3E2EA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2EA7
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2EA7#FFFFFF#000000##FFFFFF
##3E2EA71.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AB
Deuteranopia (green-blind)
#003FA5
Tritanopia (blue-blind)
#004F67
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3e2ea7;
/* rgb */ color: rgb(62, 46, 167);
/* oklch */ color: oklch(40.5% 0.183 280.4);
Tailwind
colors: {
  custom: {
    50: '#8069c2',
    500: '#3e2ea7',
    950: '#000000',
  },
}
SCSS
$custom: #3e2ea7;
$custom-light: #8069c2;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2ea7",
  "rgb": {
    "r": 62,
    "g": 46,
    "b": 167
  },
  "hsl": {
    "h": 247.934,
    "s": 56.808,
    "l": 41.765
  },
  "oklch": {
    "l": 0.4047,
    "c": 0.18317,
    "h": 280.4
  },
  "luminance": 0.05768
}

Semantic roles & 50–950 ramp

primary
#3E2EA7
secondary
#B6C170
accent
#E048CC
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3E2EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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