#3F3AA2#3F3AA2

#3F3AA2 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 42.0% C 0.162 H 278.9°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#3F3AA2
RGBrgb(63, 58, 162)
HSLhsl(243, 47%, 43%)
HSVhsv(243, 64%, 64%)
CMYKcmyk(61.1%, 64.2%, 0%, 36.5%)
CIE-LABlab(31.09, 33.71, -55.73)
CIE-LCHlch(31.09, 65.13, 301.17°)
OKLaboklab(41.99% 0.0252 -0.1604)
OKLCHoklch(41.99% 0.162 278.9)
XYZxyz(10.0825, 6.6908, 34.9356)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3AA2 #9DA23A
analogous
#3A69A2 #3F3AA2 #733AA2
triadic
#3F3AA2 #A23F3A #3AA23F
tetradic
#3F3AA2 #A23A69 #9DA23A #3AA273
square
#3F3AA2 #A23A69 #9DA23A #3AA273
split-complementary
#3F3AA2 #A2733A #69A23A
monochromatic
#1C1A48 #2D2A75 #3F3AA2 #5C57C3 #8784D3

Accessibility & contrast

On white

8.98
#3F3AA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#3F3AA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3AA2
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3AA2#FFFFFF#000000##FFFFFF
##3F3AA21.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA5
Deuteranopia (green-blind)
#0045A0
Tritanopia (blue-blind)
#005468
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3f3aa2;
/* rgb */ color: rgb(63, 58, 162);
/* oklch */ color: oklch(42.0% 0.162 278.9);
Tailwind
colors: {
  custom: {
    50: '#7f70be',
    500: '#3f3aa2',
    950: '#000000',
  },
}
SCSS
$custom: #3f3aa2;
$custom-light: #7f70be;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3aa2",
  "rgb": {
    "r": 63,
    "g": 58,
    "b": 162
  },
  "hsl": {
    "h": 242.885,
    "s": 47.273,
    "l": 43.137
  },
  "oklch": {
    "l": 0.41993,
    "c": 0.16235,
    "h": 278.9
  },
  "luminance": 0.06692
}

Semantic roles & 50–950 ramp

primary
#3F3AA2
secondary
#BABD7B
accent
#D751D0
background
#F8F6FB
surface
#EFECF7
border
#CAC7D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #3F3AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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