#3F3DA0#3F3DA0

#3F3DA0 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.4% C 0.156 H 278.3°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#3F3DA0
RGBrgb(63, 61, 160)
HSLhsl(241, 45%, 43%)
HSVhsv(241, 62%, 63%)
CMYKcmyk(60.6%, 61.9%, 0%, 37.3%)
CIE-LABlab(31.65, 31.14, -53.61)
CIE-LCHlch(31.65, 61.99, 300.15°)
OKLaboklab(42.35% 0.0225 -0.1541)
OKLCHoklch(42.35% 0.156 278.3)
XYZxyz(10.0618, 6.9316, 34.0586)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3DA0 #9EA03D
analogous
#3D6CA0 #3F3DA0 #703DA0
triadic
#3F3DA0 #A03F3D #3DA03F
tetradic
#3F3DA0 #A03D6C #9EA03D #3DA070
square
#3F3DA0 #A03D6C #9EA03D #3DA070
split-complementary
#3F3DA0 #A0703D #6CA03D
monochromatic
#1C1B47 #2E2C74 #3F3DA0 #5C5AC0 #8886D1

Accessibility & contrast

On white

8.80
#3F3DA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#3F3DA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3DA0
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3DA0#FFFFFF#000000##FFFFFF
##3F3DA01.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA3
Deuteranopia (green-blind)
#00469E
Tritanopia (blue-blind)
#005568
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3f3da0;
/* rgb */ color: rgb(63, 61, 160);
/* oklch */ color: oklch(42.4% 0.156 278.3);
Tailwind
colors: {
  custom: {
    50: '#7e73bd',
    500: '#3f3da0',
    950: '#000000',
  },
}
SCSS
$custom: #3f3da0;
$custom-light: #7e73bd;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3da0",
  "rgb": {
    "r": 63,
    "g": 61,
    "b": 160
  },
  "hsl": {
    "h": 241.212,
    "s": 44.796,
    "l": 43.333
  },
  "oklch": {
    "l": 0.42351,
    "c": 0.15579,
    "h": 278.3
  },
  "luminance": 0.06932
}

Semantic roles & 50–950 ramp

primary
#3F3DA0
secondary
#BABB7D
accent
#D453D2
background
#F8F6FB
surface
#EFECF7
border
#CAC7D0
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #3F3DA0

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

Preview Lab → · Contrast checker → · Palette generator →

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