#3F3C9E#3F3C9E

#3F3C9E is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.0% C 0.154 H 278.8°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#3F3C9E
RGBrgb(63, 60, 158)
HSLhsl(242, 45%, 43%)
HSVhsv(242, 62%, 62%)
CMYKcmyk(60.1%, 62%, 0%, 38%)
CIE-LABlab(31.25, 31.09, -53.06)
CIE-LCHlch(31.25, 61.50, 300.37°)
OKLaboklab(42% 0.0236 -0.1525)
OKLCHoklch(42% 0.154 278.8)
XYZxyz(9.8353, 6.7564, 33.1270)
Luminance0.0676 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3C9E #9B9E3C
analogous
#3C6A9E #3F3C9E #703C9E
triadic
#3F3C9E #9E3F3C #3C9E3F
tetradic
#3F3C9E #9E3C6A #9B9E3C #3C9E70
square
#3F3C9E #9E3C6A #9B9E3C #3C9E70
split-complementary
#3F3C9E #9E703C #6A9E3C
monochromatic
#1C1A45 #2D2B72 #3F3C9E #5B58BF #8684D0

Accessibility & contrast

On white

8.93
#3F3C9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#3F3C9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3C9E
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3C9E#FFFFFF#000000##FFFFFF
##3F3C9E1.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA1
Deuteranopia (green-blind)
#00469C
Tritanopia (blue-blind)
#005467
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3f3c9e;
/* rgb */ color: rgb(63, 60, 158);
/* oklch */ color: oklch(42.0% 0.154 278.8);
Tailwind
colors: {
  custom: {
    50: '#7e72bb',
    500: '#3f3c9e',
    950: '#000000',
  },
}
SCSS
$custom: #3f3c9e;
$custom-light: #7e72bb;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3c9e",
  "rgb": {
    "r": 63,
    "g": 60,
    "b": 158
  },
  "hsl": {
    "h": 241.837,
    "s": 44.954,
    "l": 42.745
  },
  "oklch": {
    "l": 0.42004,
    "c": 0.15434,
    "h": 278.8
  },
  "luminance": 0.06757
}

Semantic roles & 50–950 ramp

primary
#3F3C9E
secondary
#B8BA7B
accent
#D553D1
background
#F8F6FB
surface
#EFECF6
border
#CAC7D0
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #3F3C9E

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

Preview Lab → · Contrast checker → · Palette generator →

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