#3F3BA2#3F3BA2

#3F3BA2 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.2% C 0.161 H 278.7°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#3F3BA2
RGBrgb(63, 59, 162)
HSLhsl(242, 47%, 43%)
HSVhsv(242, 64%, 64%)
CMYKcmyk(61.1%, 63.6%, 0%, 36.5%)
CIE-LABlab(31.33, 33.08, -55.34)
CIE-LCHlch(31.33, 64.47, 300.87°)
OKLaboklab(42.17% 0.0243 -0.1592)
OKLCHoklch(42.17% 0.161 278.7)
XYZxyz(10.1334, 6.7926, 34.9525)
Luminance0.0679 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3BA2 #9EA23B
analogous
#3B6AA2 #3F3BA2 #723BA2
triadic
#3F3BA2 #A23F3B #3BA23F
tetradic
#3F3BA2 #A23B6A #9EA23B #3BA272
square
#3F3BA2 #A23B6A #9EA23B #3BA272
split-complementary
#3F3BA2 #A2723B #6AA23B
monochromatic
#1C1A48 #2E2B75 #3F3BA2 #5C58C2 #8885D3

Accessibility & contrast

On white

8.90
#3F3BA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#3F3BA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3BA2
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3BA2#FFFFFF#000000##FFFFFF
##3F3BA21.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA5
Deuteranopia (green-blind)
#0046A0
Tritanopia (blue-blind)
#005569
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3f3ba2;
/* rgb */ color: rgb(63, 59, 162);
/* oklch */ color: oklch(42.2% 0.161 278.7);
Tailwind
colors: {
  custom: {
    50: '#7f71be',
    500: '#3f3ba2',
    950: '#000000',
  },
}
SCSS
$custom: #3f3ba2;
$custom-light: #7f71be;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3ba2",
  "rgb": {
    "r": 63,
    "g": 59,
    "b": 162
  },
  "hsl": {
    "h": 242.33,
    "s": 46.606,
    "l": 43.333
  },
  "oklch": {
    "l": 0.42167,
    "c": 0.16108,
    "h": 278.7
  },
  "luminance": 0.06793
}

Semantic roles & 50–950 ramp

primary
#3F3BA2
secondary
#BABD7C
accent
#D652D1
background
#F8F6FB
surface
#EFECF7
border
#CAC7D0
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #3F3BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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