#3F3FA3#3F3FA3

#3F3FA3 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.0% C 0.157 H 277.5°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#3F3FA3
RGBrgb(63, 63, 163)
HSLhsl(240, 44%, 44%)
HSVhsv(240, 61%, 64%)
CMYKcmyk(61.3%, 61.3%, 0%, 36.1%)
CIE-LABlab(32.38, 30.89, -54.23)
CIE-LCHlch(32.38, 62.41, 299.66°)
OKLaboklab(42.96% 0.0205 -0.156)
OKLCHoklch(42.96% 0.157 277.5)
XYZxyz(10.4361, 7.2553, 35.4937)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3FA3 #A3A33F
analogous
#3F71A3 #3F3FA3 #713FA3
triadic
#3F3FA3 #A33F3F #3FA33F
tetradic
#3F3FA3 #A33F71 #A3A33F #3FA371
square
#3F3FA3 #A33F71 #A3A33F #3FA371
split-complementary
#3F3FA3 #A3713F #71A33F
monochromatic
#1D1D4B #2E2E77 #3F3FA3 #5E5EC1 #8A8AD2

Accessibility & contrast

On white

8.57
#3F3FA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F3FA3
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3FA3#FFFFFF#000000##FFFFFF
##3F3FA31.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A6
Deuteranopia (green-blind)
#0048A1
Tritanopia (blue-blind)
#00576B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3f3fa3;
/* rgb */ color: rgb(63, 63, 163);
/* oklch */ color: oklch(43.0% 0.157 277.5);
Tailwind
colors: {
  custom: {
    50: '#7f74bf',
    500: '#3f3fa3',
    950: '#000000',
  },
}
SCSS
$custom: #3f3fa3;
$custom-light: #7f74bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3fa3",
  "rgb": {
    "r": 63,
    "g": 63,
    "b": 163
  },
  "hsl": {
    "h": 240,
    "s": 44.248,
    "l": 44.314
  },
  "oklch": {
    "l": 0.42964,
    "c": 0.1573,
    "h": 277.5
  },
  "luminance": 0.07256
}

Semantic roles & 50–950 ramp

primary
#3F3FA3
secondary
#BDBD81
accent
#D454D4
background
#F8F7FB
surface
#EFEDF7
border
#CAC8D0
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #3F3FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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