#3F46AA#3F46AA

#3F46AA is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.8% C 0.158 H 275.0°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#3F46AA
RGBrgb(63, 70, 170)
HSLhsl(236, 46%, 46%)
HSVhsv(236, 63%, 67%)
CMYKcmyk(62.9%, 58.8%, 0%, 33.3%)
CIE-LABlab(34.68, 28.81, -54.69)
CIE-LCHlch(34.68, 61.82, 297.78°)
OKLaboklab(44.83% 0.0138 -0.1573)
OKLCHoklch(44.83% 0.158 275)
XYZxyz(11.4934, 8.3384, 39.0262)
Luminance0.0834 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F46AA #AAA33F
analogous
#3F7BAA #3F46AA #6D3FAA
triadic
#3F46AA #AA3F46 #46AA3F
tetradic
#3F46AA #AA3F7B #AAA33F #3FAA6D
square
#3F46AA #AA3F7B #AAA33F #3FAA6D
split-complementary
#3F46AA #AA6D3F #7BAA3F
monochromatic
#1E2151 #2E347D #3F46AA #6268C5 #8E93D5

Accessibility & contrast

On white

7.87
#3F46AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#3F46AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F46AA
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F46AA#FFFFFF#000000##FFFFFF
##3F46AA1.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AD
Deuteranopia (green-blind)
#004DA8
Tritanopia (blue-blind)
#005E71
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3f46aa;
/* rgb */ color: rgb(63, 70, 170);
/* oklch */ color: oklch(44.8% 0.158 275.0);
Tailwind
colors: {
  custom: {
    50: '#8079c4',
    500: '#3f46aa',
    950: '#000000',
  },
}
SCSS
$custom: #3f46aa;
$custom-light: #8079c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3f46aa",
  "rgb": {
    "r": 63,
    "g": 70,
    "b": 170
  },
  "hsl": {
    "h": 236.075,
    "s": 45.923,
    "l": 45.686
  },
  "oklch": {
    "l": 0.44834,
    "c": 0.15786,
    "h": 275
  },
  "luminance": 0.08339
}

Semantic roles & 50–950 ramp

primary
#3F46AA
secondary
#C0BC85
accent
#CD52D6
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3F46AA

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

Preview Lab → · Contrast checker → · Palette generator →

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