#3F3EAF#3F3EAF

#3F3EAF is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.8% C 0.175 H 276.8°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#3F3EAF
RGBrgb(63, 62, 175)
HSLhsl(241, 48%, 46%)
HSVhsv(241, 65%, 69%)
CMYKcmyk(64%, 64.6%, 0%, 31.4%)
CIE-LABlab(33.13, 35.60, -60.20)
CIE-LCHlch(33.13, 69.94, 300.60°)
OKLaboklab(43.82% 0.0207 -0.1735)
OKLCHoklch(43.82% 0.175 276.8)
XYZxyz(11.5079, 7.5962, 41.4089)
Luminance0.0760 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3EAF #AEAF3E
analogous
#3E76AF #3F3EAF #783EAF
triadic
#3F3EAF #AF3F3E #3EAF3F
tetradic
#3F3EAF #AF3E76 #AEAF3E #3EAF78
square
#3F3EAF #AF3E76 #AEAF3E #3EAF78
split-complementary
#3F3EAF #AF783E #76AF3E
monochromatic
#1E1E55 #2F2E82 #3F3EAF #6463C8 #9090D8

Accessibility & contrast

On white

8.34
#3F3EAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#3F3EAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3EAF
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3EAF#FFFFFF#000000##FFFFFF
##3F3EAF1.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B3
Deuteranopia (green-blind)
#0049AD
Tritanopia (blue-blind)
#005B71
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3f3eaf;
/* rgb */ color: rgb(63, 62, 175);
/* oklch */ color: oklch(43.8% 0.175 276.8);
Tailwind
colors: {
  custom: {
    50: '#8174c8',
    500: '#3f3eaf',
    950: '#000000',
  },
}
SCSS
$custom: #3f3eaf;
$custom-light: #8174c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3eaf",
  "rgb": {
    "r": 63,
    "g": 62,
    "b": 175
  },
  "hsl": {
    "h": 240.531,
    "s": 47.679,
    "l": 46.471
  },
  "oklch": {
    "l": 0.43818,
    "c": 0.17472,
    "h": 276.8
  },
  "luminance": 0.07597
}

Semantic roles & 50–950 ramp

primary
#3F3EAF
secondary
#C2C386
accent
#D751D6
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3F3EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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