#3E2EA8#3E2EA8

#3E2EA8 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.6% C 0.184 H 280.2°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#3E2EA8
RGBrgb(62, 46, 168)
HSLhsl(248, 57%, 42%)
HSVhsv(248, 73%, 66%)
CMYKcmyk(63.1%, 72.6%, 0%, 34.1%)
CIE-LABlab(28.91, 42.68, -62.92)
CIE-LCHlch(28.91, 76.03, 304.15°)
OKLaboklab(40.57% 0.0328 -0.1815)
OKLCHoklch(40.57% 0.184 280.2)
XYZxyz(10.0292, 5.8045, 37.6301)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2EA8 #98A82E
analogous
#2E5BA8 #3E2EA8 #7B2EA8
triadic
#3E2EA8 #A83E2E #2EA83E
tetradic
#3E2EA8 #A82E5B #98A82E #2EA87B
square
#3E2EA8 #A82E5B #98A82E #2EA87B
split-complementary
#3E2EA8 #A87B2E #5BA82E
monochromatic
#1B1448 #2C2178 #3E2EA8 #5847CD #8477DA

Accessibility & contrast

On white

9.72
#3E2EA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#3E2EA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2EA8
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2EA8#FFFFFF#000000##FFFFFF
##3E2EA81.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AC
Deuteranopia (green-blind)
#003FA6
Tritanopia (blue-blind)
#005068
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3e2ea8;
/* rgb */ color: rgb(62, 46, 168);
/* oklch */ color: oklch(40.6% 0.184 280.2);
Tailwind
colors: {
  custom: {
    50: '#8169c3',
    500: '#3e2ea8',
    950: '#000000',
  },
}
SCSS
$custom: #3e2ea8;
$custom-light: #8169c3;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2ea8",
  "rgb": {
    "r": 62,
    "g": 46,
    "b": 168
  },
  "hsl": {
    "h": 247.869,
    "s": 57.009,
    "l": 41.961
  },
  "oklch": {
    "l": 0.40568,
    "c": 0.18441,
    "h": 280.2
  },
  "luminance": 0.05805
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3E2EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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