#3F3D97#3F3D97

#3F3D97 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.6% C 0.143 H 279.2°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#3F3D97
RGBrgb(63, 61, 151)
HSLhsl(241, 42%, 42%)
HSVhsv(241, 60%, 59%)
CMYKcmyk(58.3%, 59.6%, 0%, 40.8%)
CIE-LABlab(30.94, 28.08, -49.29)
CIE-LCHlch(30.94, 56.73, 299.67°)
OKLaboklab(41.61% 0.0228 -0.1415)
OKLCHoklch(41.61% 0.143 279.2)
XYZxyz(9.3028, 6.6280, 30.0613)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3D97 #95973D
analogous
#3D6897 #3F3D97 #6C3D97
triadic
#3F3D97 #973F3D #3D973F
tetradic
#3F3D97 #973D68 #95973D #3D976C
square
#3F3D97 #973D68 #95973D #3D976C
split-complementary
#3F3D97 #976C3D #68973D
monochromatic
#1B1A40 #2D2B6B #3F3D97 #5956BB #8482CC

Accessibility & contrast

On white

9.03
#3F3D97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#3F3D97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3D97
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3D97#FFFFFF#000000##FFFFFF
##3F3D971.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9A
Deuteranopia (green-blind)
#004595
Tritanopia (blue-blind)
#0B5264
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3f3d97;
/* rgb */ color: rgb(63, 61, 151);
/* oklch */ color: oklch(41.6% 0.143 279.2);
Tailwind
colors: {
  custom: {
    50: '#7d72b6',
    500: '#3f3d97',
    950: '#000000',
  },
}
SCSS
$custom: #3f3d97;
$custom-light: #7d72b6;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3d97",
  "rgb": {
    "r": 63,
    "g": 61,
    "b": 151
  },
  "hsl": {
    "h": 241.333,
    "s": 42.453,
    "l": 41.569
  },
  "oklch": {
    "l": 0.41609,
    "c": 0.14328,
    "h": 279.2
  },
  "luminance": 0.06629
}

Semantic roles & 50–950 ramp

primary
#3F3D97
secondary
#B5B779
accent
#D256CF
background
#F8F6FB
surface
#EFECF6
border
#CAC7D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #3F3D97

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

Preview Lab → · Contrast checker → · Palette generator →

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