#3F3DA2#3F3DA2

#3F3DA2 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.5% C 0.159 H 278.1°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#3F3DA2
RGBrgb(63, 61, 162)
HSLhsl(241, 45%, 44%)
HSVhsv(241, 62%, 64%)
CMYKcmyk(61.1%, 62.3%, 0%, 36.5%)
CIE-LABlab(31.81, 31.82, -54.55)
CIE-LCHlch(31.81, 63.15, 300.25°)
OKLaboklab(42.52% 0.0224 -0.1569)
OKLCHoklch(42.52% 0.159 278.1)
XYZxyz(10.2381, 7.0021, 34.9874)
Luminance0.0700 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3DA2 #A0A23D
analogous
#3D6DA2 #3F3DA2 #713DA2
triadic
#3F3DA2 #A23F3D #3DA23F
tetradic
#3F3DA2 #A23D6D #A0A23D #3DA271
square
#3F3DA2 #A23D6D #A0A23D #3DA271
split-complementary
#3F3DA2 #A2713D #6DA23D
monochromatic
#1C1C49 #2E2C76 #3F3DA2 #5D5BC1 #8987D2

Accessibility & contrast

On white

8.75
#3F3DA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#3F3DA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3DA2
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3DA2#FFFFFF#000000##FFFFFF
##3F3DA21.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA5
Deuteranopia (green-blind)
#0047A0
Tritanopia (blue-blind)
#005669
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3f3da2;
/* rgb */ color: rgb(63, 61, 162);
/* oklch */ color: oklch(42.5% 0.159 278.1);
Tailwind
colors: {
  custom: {
    50: '#7f73be',
    500: '#3f3da2',
    950: '#000000',
  },
}
SCSS
$custom: #3f3da2;
$custom-light: #7f73be;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3da2",
  "rgb": {
    "r": 63,
    "g": 61,
    "b": 162
  },
  "hsl": {
    "h": 241.188,
    "s": 45.291,
    "l": 43.725
  },
  "oklch": {
    "l": 0.4252,
    "c": 0.15851,
    "h": 278.1
  },
  "luminance": 0.07003
}

Semantic roles & 50–950 ramp

primary
#3F3DA2
secondary
#BBBC7E
accent
#D553D2
background
#F8F6FB
surface
#EFECF7
border
#CAC7D0
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #3F3DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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