#3F46AE#3F46AE

#3F46AE is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.2% C 0.163 H 274.8°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#3F46AE
RGBrgb(63, 70, 174)
HSLhsl(236, 47%, 46%)
HSVhsv(236, 64%, 68%)
CMYKcmyk(63.8%, 59.8%, 0%, 31.8%)
CIE-LABlab(34.99, 30.20, -56.57)
CIE-LCHlch(34.99, 64.13, 298.10°)
OKLaboklab(45.16% 0.0138 -0.1628)
OKLCHoklch(45.16% 0.163 274.8)
XYZxyz(11.8775, 8.4921, 41.0494)
Luminance0.0849 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F46AE #AEA73F
analogous
#3F7EAE #3F46AE #703FAE
triadic
#3F46AE #AE3F46 #46AE3F
tetradic
#3F46AE #AE3F7E #AEA73F #3FAE70
square
#3F46AE #AE3F7E #AEA73F #3FAE70
split-complementary
#3F46AE #AE703F #7EAE3F
monochromatic
#1E2254 #2F3481 #3F46AE #646AC7 #9095D7

Accessibility & contrast

On white

7.78
#3F46AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#3F46AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F46AE
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F46AE#FFFFFF#000000##FFFFFF
##3F46AE1.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B1
Deuteranopia (green-blind)
#004DAC
Tritanopia (blue-blind)
#005F73
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3f46ae;
/* rgb */ color: rgb(63, 70, 174);
/* oklch */ color: oklch(45.2% 0.163 274.8);
Tailwind
colors: {
  custom: {
    50: '#8079c7',
    500: '#3f46ae',
    950: '#000000',
  },
}
SCSS
$custom: #3f46ae;
$custom-light: #8079c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3f46ae",
  "rgb": {
    "r": 63,
    "g": 70,
    "b": 174
  },
  "hsl": {
    "h": 236.216,
    "s": 46.835,
    "l": 46.471
  },
  "oklch": {
    "l": 0.4516,
    "c": 0.16337,
    "h": 274.8
  },
  "luminance": 0.08493
}

Semantic roles & 50–950 ramp

primary
#3F46AE
secondary
#C2BE87
accent
#CE51D6
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3F46AE

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

Preview Lab → · Contrast checker → · Palette generator →

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