#3F2EAF#3F2EAF

#3F2EAF is a dark, vivid blue. Relative luminance 0.061; OKLCH L 41.3% C 0.193 H 279.8°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#3F2EAF
RGBrgb(63, 46, 175)
HSLhsl(248, 58%, 43%)
HSVhsv(248, 74%, 69%)
CMYKcmyk(64%, 73.7%, 0%, 31.4%)
CIE-LABlab(29.68, 45.01, -65.86)
CIE-LCHlch(29.68, 79.77, 304.35°)
OKLaboklab(41.34% 0.0327 -0.1901)
OKLCHoklch(41.34% 0.193 279.8)
XYZxyz(10.7623, 6.1051, 41.1604)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2EAF #9EAF2E
analogous
#2E5DAF #3F2EAF #7F2EAF
triadic
#3F2EAF #AF3F2E #2EAF3F
tetradic
#3F2EAF #AF2E5D #9EAF2E #2EAF7F
square
#3F2EAF #AF2E5D #9EAF2E #2EAF7F
split-complementary
#3F2EAF #AF7F2E #5DAF2E
monochromatic
#1C154E #2E217F #3F2EAF #5C4BD0 #887BDC

Accessibility & contrast

On white

9.45
#3F2EAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#3F2EAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2EAF
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2EAF#FFFFFF#000000##FFFFFF
##3F2EAF1.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f2eaf;
/* rgb */ color: rgb(63, 46, 175);
/* oklch */ color: oklch(41.3% 0.193 279.8);
Tailwind
colors: {
  custom: {
    50: '#8269c8',
    500: '#3f2eaf',
    950: '#000000',
  },
}
SCSS
$custom: #3f2eaf;
$custom-light: #8269c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2eaf",
  "rgb": {
    "r": 63,
    "g": 46,
    "b": 175
  },
  "hsl": {
    "h": 247.907,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.41335,
    "c": 0.19285,
    "h": 279.8
  },
  "luminance": 0.06106
}

Semantic roles & 50–950 ramp

primary
#3F2EAF
secondary
#BAC574
accent
#E246CD
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3F2EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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