#3E2FAF#3E2FAF

#3E2FAF is a dark, vivid blue. Relative luminance 0.062; OKLCH L 41.4% C 0.192 H 279.2°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#3E2FAF
RGBrgb(62, 47, 175)
HSLhsl(247, 58%, 44%)
HSVhsv(247, 73%, 69%)
CMYKcmyk(64.6%, 73.1%, 0%, 31.4%)
CIE-LABlab(29.79, 44.34, -65.67)
CIE-LCHlch(29.79, 79.24, 304.03°)
OKLaboklab(41.4% 0.0306 -0.1895)
OKLCHoklch(41.4% 0.192 279.2)
XYZxyz(10.7385, 6.1515, 41.1706)
Luminance0.0615 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2FAF #A0AF2F
analogous
#2F60AF #3E2FAF #7E2FAF
triadic
#3E2FAF #AF3E2F #2FAF3E
tetradic
#3E2FAF #AF2F60 #A0AF2F #2FAF7E
square
#3E2FAF #AF2F60 #A0AF2F #2FAF7E
split-complementary
#3E2FAF #AF7E2F #60AF2F
monochromatic
#1C154F #2D227F #3E2FAF #5C4CCF #887CDC

Accessibility & contrast

On white

9.42
#3E2FAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#3E2FAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2FAF
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2FAF#FFFFFF#000000##FFFFFF
##3E2FAF1.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB3
Deuteranopia (green-blind)
#0041AD
Tritanopia (blue-blind)
#00536C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3e2faf;
/* rgb */ color: rgb(62, 47, 175);
/* oklch */ color: oklch(41.4% 0.192 279.2);
Tailwind
colors: {
  custom: {
    50: '#826ac8',
    500: '#3e2faf',
    950: '#000000',
  },
}
SCSS
$custom: #3e2faf;
$custom-light: #826ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2faf",
  "rgb": {
    "r": 62,
    "g": 47,
    "b": 175
  },
  "hsl": {
    "h": 247.031,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.41396,
    "c": 0.19201,
    "h": 279.2
  },
  "luminance": 0.06152
}

Semantic roles & 50–950 ramp

primary
#3E2FAF
secondary
#BBC475
accent
#E147CF
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3E2FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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