#3F3790#3F3790

#3F3790 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.9% C 0.142 H 281.9°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#3F3790
RGBrgb(63, 55, 144)
HSLhsl(245, 45%, 39%)
HSVhsv(245, 62%, 56%)
CMYKcmyk(56.3%, 61.8%, 0%, 43.5%)
CIE-LABlab(28.91, 29.58, -48.31)
CIE-LCHlch(28.91, 56.64, 301.48°)
OKLaboklab(39.94% 0.0293 -0.1386)
OKLCHoklch(39.94% 0.142 281.9)
XYZxyz(8.4486, 5.8022, 27.0549)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3790 #889037
analogous
#375C90 #3F3790 #6C3790
triadic
#3F3790 #903F37 #37903F
tetradic
#3F3790 #90375C #889037 #37906C
square
#3F3790 #90375C #889037 #37906C
split-complementary
#3F3790 #906C37 #5C9037
monochromatic
#181537 #2C2664 #3F3790 #544ABA #7E77CB

Accessibility & contrast

On white

9.72
#3F3790 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#3F3790 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3790
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3790#FFFFFF#000000##FFFFFF
##3F37901.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004793
Deuteranopia (green-blind)
#00418E
Tritanopia (blue-blind)
#194C5E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3f3790;
/* rgb */ color: rgb(63, 55, 144);
/* oklch */ color: oklch(39.9% 0.142 281.9);
Tailwind
colors: {
  custom: {
    50: '#7c6eb1',
    500: '#3f3790',
    950: '#000000',
  },
}
SCSS
$custom: #3f3790;
$custom-light: #7c6eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3790",
  "rgb": {
    "r": 63,
    "g": 55,
    "b": 144
  },
  "hsl": {
    "h": 245.393,
    "s": 44.724,
    "l": 39.02
  },
  "oklch": {
    "l": 0.39936,
    "c": 0.14165,
    "h": 281.9
  },
  "luminance": 0.05803
}

Semantic roles & 50–950 ramp

primary
#3F3790
secondary
#AEB46F
accent
#D453C9
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #3F3790

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

Preview Lab → · Contrast checker → · Palette generator →

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