#3F3EA2#3F3EA2

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

Color values

HEX#3F3EA2
RGBrgb(63, 62, 162)
HSLhsl(241, 45%, 44%)
HSVhsv(241, 62%, 64%)
CMYKcmyk(61.1%, 61.7%, 0%, 36.5%)
CIE-LABlab(32.06, 31.18, -54.16)
CIE-LCHlch(32.06, 62.49, 299.93°)
OKLaboklab(42.7% 0.0215 -0.1557)
OKLCHoklch(42.7% 0.157 277.9)
XYZxyz(10.2920, 7.1099, 35.0054)
Luminance0.0711 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3EA2 #A1A23E
analogous
#3E6FA2 #3F3EA2 #713EA2
triadic
#3F3EA2 #A23F3E #3EA23F
tetradic
#3F3EA2 #A23E6F #A1A23E #3EA271
square
#3F3EA2 #A23E6F #A1A23E #3EA271
split-complementary
#3F3EA2 #A2713E #6FA23E
monochromatic
#1D1C49 #2E2D76 #3F3EA2 #5D5CC1 #8989D2

Accessibility & contrast

On white

8.67
#3F3EA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F3EA2
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3EA2#FFFFFF#000000##FFFFFF
##3F3EA21.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.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: #3f3ea2;
/* rgb */ color: rgb(63, 62, 162);
/* oklch */ color: oklch(42.7% 0.157 277.9);
Tailwind
colors: {
  custom: {
    50: '#7f73be',
    500: '#3f3ea2',
    950: '#000000',
  },
}
SCSS
$custom: #3f3ea2;
$custom-light: #7f73be;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3ea2",
  "rgb": {
    "r": 63,
    "g": 62,
    "b": 162
  },
  "hsl": {
    "h": 240.6,
    "s": 44.643,
    "l": 43.922
  },
  "oklch": {
    "l": 0.42699,
    "c": 0.15722,
    "h": 277.9
  },
  "luminance": 0.07111
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3F3EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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