#3F2EA9#3F2EA9

#3F2EA9 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.7% C 0.185 H 280.6°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#3F2EA9
RGBrgb(63, 46, 169)
HSLhsl(248, 57%, 42%)
HSVhsv(248, 73%, 66%)
CMYKcmyk(62.7%, 72.8%, 0%, 33.7%)
CIE-LABlab(29.09, 43.13, -63.22)
CIE-LCHlch(29.09, 76.53, 304.30°)
OKLaboklab(40.75% 0.034 -0.1823)
OKLCHoklch(40.75% 0.185 280.6)
XYZxyz(10.1861, 5.8746, 38.1256)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2EA9 #98A92E
analogous
#2E5AA9 #3F2EA9 #7D2EA9
triadic
#3F2EA9 #A93F2E #2EA93F
tetradic
#3F2EA9 #A92E5A #98A92E #2EA97D
square
#3F2EA9 #A92E5A #98A92E #2EA97D
split-complementary
#3F2EA9 #A97D2E #5AA92E
monochromatic
#1B1449 #2D2179 #3F2EA9 #5A47CD #8577DA

Accessibility & contrast

On white

9.66
#3F2EA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#3F2EA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2EA9
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2EA9#FFFFFF#000000##FFFFFF
##3F2EA91.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AD
Deuteranopia (green-blind)
#0040A7
Tritanopia (blue-blind)
#005068
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3f2ea9;
/* rgb */ color: rgb(63, 46, 169);
/* oklch */ color: oklch(40.7% 0.185 280.6);
Tailwind
colors: {
  custom: {
    50: '#8169c4',
    500: '#3f2ea9',
    950: '#000000',
  },
}
SCSS
$custom: #3f2ea9;
$custom-light: #8169c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2ea9",
  "rgb": {
    "r": 63,
    "g": 46,
    "b": 169
  },
  "hsl": {
    "h": 248.293,
    "s": 57.209,
    "l": 42.157
  },
  "oklch": {
    "l": 0.40746,
    "c": 0.18548,
    "h": 280.6
  },
  "luminance": 0.05875
}

Semantic roles & 50–950 ramp

primary
#3F2EA9
secondary
#B7C271
accent
#E047CB
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3F2EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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