#3E2EA5#3E2EA5

#3E2EA5 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.3% C 0.181 H 280.6°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#3E2EA5
RGBrgb(62, 46, 165)
HSLhsl(248, 56%, 41%)
HSVhsv(248, 72%, 65%)
CMYKcmyk(62.4%, 72.1%, 0%, 35.3%)
CIE-LABlab(28.63, 41.73, -61.58)
CIE-LCHlch(28.63, 74.38, 304.12°)
OKLaboklab(40.28% 0.0334 -0.1776)
OKLCHoklch(40.28% 0.181 280.6)
XYZxyz(9.7530, 5.6940, 36.1751)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2EA5 #95A52E
analogous
#2E5AA5 #3E2EA5 #7A2EA5
triadic
#3E2EA5 #A53E2E #2EA53E
tetradic
#3E2EA5 #A52E5A #95A52E #2EA57A
square
#3E2EA5 #A52E5A #95A52E #2EA57A
split-complementary
#3E2EA5 #A57A2E #5AA52E
monochromatic
#1A1345 #2C2175 #3E2EA5 #5745CB #8275D8

Accessibility & contrast

On white

9.82
#3E2EA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#3E2EA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2EA5
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2EA5#FFFFFF#000000##FFFFFF
##3E2EA51.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A9
Deuteranopia (green-blind)
#003FA3
Tritanopia (blue-blind)
#004F66
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3e2ea5;
/* rgb */ color: rgb(62, 46, 165);
/* oklch */ color: oklch(40.3% 0.181 280.6);
Tailwind
colors: {
  custom: {
    50: '#8069c1',
    500: '#3e2ea5',
    950: '#000000',
  },
}
SCSS
$custom: #3e2ea5;
$custom-light: #8069c1;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2ea5",
  "rgb": {
    "r": 62,
    "g": 46,
    "b": 165
  },
  "hsl": {
    "h": 248.067,
    "s": 56.398,
    "l": 41.373
  },
  "oklch": {
    "l": 0.40276,
    "c": 0.18068,
    "h": 280.6
  },
  "luminance": 0.05695
}

Semantic roles & 50–950 ramp

primary
#3E2EA5
secondary
#B5C06F
accent
#E048CB
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3E2EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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