#3F39BA#3F39BA

#3F39BA is a dark, vivid blue. Relative luminance 0.075; OKLCH L 44.0% C 0.195 H 276.8°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#3F39BA
RGBrgb(63, 57, 186)
HSLhsl(243, 53%, 48%)
HSVhsv(243, 69%, 73%)
CMYKcmyk(66.1%, 69.4%, 0%, 27.1%)
CIE-LABlab(32.98, 42.29, -66.97)
CIE-LCHlch(32.98, 79.21, 302.27°)
OKLaboklab(44.01% 0.0232 -0.1933)
OKLCHoklch(44.01% 0.195 276.8)
XYZxyz(12.3731, 7.5271, 47.2457)
Luminance0.0753 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F39BA #B4BA39
analogous
#3973BA #3F39BA #8039BA
triadic
#3F39BA #BA3F39 #39BA3F
tetradic
#3F39BA #BA3973 #B4BA39 #39BA80
square
#3F39BA #BA3973 #B4BA39 #39BA80
split-complementary
#3F39BA #BA8039 #73BA39
monochromatic
#1F1C5C #2F2B8B #3F39BA #6761CF #9490DD

Accessibility & contrast

On white

8.38
#3F39BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#3F39BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F39BA
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F39BA#FFFFFF#000000##FFFFFF
##3F39BA1.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BE
Deuteranopia (green-blind)
#0048B8
Tritanopia (blue-blind)
#005C75
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3f39ba;
/* rgb */ color: rgb(63, 57, 186);
/* oklch */ color: oklch(44.0% 0.195 276.8);
Tailwind
colors: {
  custom: {
    50: '#8470d0',
    500: '#3f39ba',
    950: '#000000',
  },
}
SCSS
$custom: #3f39ba;
$custom-light: #8470d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3f39ba",
  "rgb": {
    "r": 63,
    "g": 57,
    "b": 186
  },
  "hsl": {
    "h": 242.791,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.44009,
    "c": 0.19472,
    "h": 276.8
  },
  "luminance": 0.07528
}

Semantic roles & 50–950 ramp

primary
#3F39BA
secondary
#C5C887
accent
#DC4BD6
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3F39BA

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

Preview Lab → · Contrast checker → · Palette generator →

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