#3E3EA2#3E3EA2

#3E3EA2 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.6% C 0.157 H 277.4°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#3E3EA2
RGBrgb(62, 62, 162)
HSLhsl(240, 45%, 44%)
HSVhsv(240, 62%, 64%)
CMYKcmyk(61.7%, 61.7%, 0%, 36.5%)
CIE-LABlab(31.98, 31.01, -54.28)
CIE-LCHlch(31.98, 62.51, 299.74°)
OKLaboklab(42.63% 0.0202 -0.1561)
OKLCHoklch(42.63% 0.157 277.4)
XYZxyz(10.2287, 7.0772, 35.0024)
Luminance0.0708 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E3EA2 #A2A23E
analogous
#3E70A2 #3E3EA2 #703EA2
triadic
#3E3EA2 #A23E3E #3EA23E
tetradic
#3E3EA2 #A23E70 #A2A23E #3EA270
square
#3E3EA2 #A23E70 #A2A23E #3EA270
split-complementary
#3E3EA2 #A2703E #70A23E
monochromatic
#1C1C49 #2D2D76 #3E3EA2 #5C5CC1 #8989D2

Accessibility & contrast

On white

8.69
#3E3EA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#3E3EA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E3EA2
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E3EA2#FFFFFF#000000##FFFFFF
##3E3EA21.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A5
Deuteranopia (green-blind)
#0047A0
Tritanopia (blue-blind)
#00576A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3e3ea2;
/* rgb */ color: rgb(62, 62, 162);
/* oklch */ color: oklch(42.6% 0.157 277.4);
Tailwind
colors: {
  custom: {
    50: '#7e73be',
    500: '#3e3ea2',
    950: '#000000',
  },
}
SCSS
$custom: #3e3ea2;
$custom-light: #7e73be;
$custom-dark: #000000;
JSON
{
  "hex": "#3e3ea2",
  "rgb": {
    "r": 62,
    "g": 62,
    "b": 162
  },
  "hsl": {
    "h": 240,
    "s": 44.643,
    "l": 43.922
  },
  "oklch": {
    "l": 0.42626,
    "c": 0.15745,
    "h": 277.4
  },
  "luminance": 0.07078
}

Semantic roles & 50–950 ramp

primary
#3E3EA2
secondary
#BCBC80
accent
#D453D4
background
#F8F7FB
surface
#EFEDF7
border
#CAC8D0
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #3E3EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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