#3F39B3#3F39B3

#3F39B3 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 43.4% C 0.186 H 277.5°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#3F39B3
RGBrgb(63, 57, 179)
HSLhsl(243, 52%, 46%)
HSVhsv(243, 68%, 70%)
CMYKcmyk(64.8%, 68.2%, 0%, 29.8%)
CIE-LABlab(32.34, 39.99, -63.87)
CIE-LCHlch(32.34, 75.35, 302.05°)
OKLaboklab(43.35% 0.0242 -0.1843)
OKLCHoklch(43.35% 0.186 277.5)
XYZxyz(11.6471, 7.2367, 43.4221)
Luminance0.0724 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F39B3 #ADB339
analogous
#3970B3 #3F39B3 #7C39B3
triadic
#3F39B3 #B33F39 #39B33F
tetradic
#3F39B3 #B33970 #ADB339 #39B37C
square
#3F39B3 #B33970 #ADB339 #39B37C
split-complementary
#3F39B3 #B37C39 #70B339
monochromatic
#1E1B56 #2F2A85 #3F39B3 #635ECC #908CDA

Accessibility & contrast

On white

8.58
#3F39B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#3F39B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F39B3
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F39B3#FFFFFF#000000##FFFFFF
##3F39B31.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B7
Deuteranopia (green-blind)
#0047B1
Tritanopia (blue-blind)
#005971
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3f39b3;
/* rgb */ color: rgb(63, 57, 179);
/* oklch */ color: oklch(43.4% 0.186 277.5);
Tailwind
colors: {
  custom: {
    50: '#8270cb',
    500: '#3f39b3',
    950: '#000000',
  },
}
SCSS
$custom: #3f39b3;
$custom-light: #8270cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3f39b3",
  "rgb": {
    "r": 63,
    "g": 57,
    "b": 179
  },
  "hsl": {
    "h": 242.951,
    "s": 51.695,
    "l": 46.275
  },
  "oklch": {
    "l": 0.43354,
    "c": 0.18585,
    "h": 277.5
  },
  "luminance": 0.07238
}

Semantic roles & 50–950 ramp

primary
#3F39B3
secondary
#C2C583
accent
#DB4DD4
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #3F39B3

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

Preview Lab → · Contrast checker → · Palette generator →

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