#3F39B5#3F39B5

#3F39B5 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.5% C 0.188 H 277.3°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#3F39B5
RGBrgb(63, 57, 181)
HSLhsl(243, 52%, 47%)
HSVhsv(243, 69%, 71%)
CMYKcmyk(65.2%, 68.5%, 0%, 29%)
CIE-LABlab(32.52, 40.65, -64.76)
CIE-LCHlch(32.52, 76.46, 302.12°)
OKLaboklab(43.54% 0.0239 -0.1869)
OKLCHoklch(43.54% 0.188 277.3)
XYZxyz(11.8508, 7.3182, 44.4951)
Luminance0.0732 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F39B5 #AFB539
analogous
#3971B5 #3F39B5 #7D39B5
triadic
#3F39B5 #B53F39 #39B53F
tetradic
#3F39B5 #B53971 #AFB539 #39B57D
square
#3F39B5 #B53971 #AFB539 #39B57D
split-complementary
#3F39B5 #B57D39 #71B539
monochromatic
#1F1C58 #2F2A86 #3F39B5 #645FCD #918DDB

Accessibility & contrast

On white

8.52
#3F39B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#3F39B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F39B5
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F39B5#FFFFFF#000000##FFFFFF
##3F39B51.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B9
Deuteranopia (green-blind)
#0047B3
Tritanopia (blue-blind)
#005A72
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3f39b5;
/* rgb */ color: rgb(63, 57, 181);
/* oklch */ color: oklch(43.5% 0.188 277.3);
Tailwind
colors: {
  custom: {
    50: '#8370cc',
    500: '#3f39b5',
    950: '#000000',
  },
}
SCSS
$custom: #3f39b5;
$custom-light: #8370cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3f39b5",
  "rgb": {
    "r": 63,
    "g": 57,
    "b": 181
  },
  "hsl": {
    "h": 242.903,
    "s": 52.101,
    "l": 46.667
  },
  "oklch": {
    "l": 0.4354,
    "c": 0.1884,
    "h": 277.3
  },
  "luminance": 0.07319
}

Semantic roles & 50–950 ramp

primary
#3F39B5
secondary
#C3C684
accent
#DC4CD5
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3F39B5

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

Preview Lab → · Contrast checker → · Palette generator →

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