#3F46C1#3F46C1

#3F46C1 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.8% C 0.189 H 273.9°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#3F46C1
RGBrgb(63, 70, 193)
HSLhsl(237, 51%, 50%)
HSVhsv(237, 67%, 76%)
CMYKcmyk(67.4%, 63.7%, 0%, 24.3%)
CIE-LABlab(36.53, 36.77, -65.26)
CIE-LCHlch(36.53, 74.91, 299.40°)
OKLaboklab(46.78% 0.013 -0.1883)
OKLCHoklch(46.78% 0.189 273.9)
XYZxyz(13.8625, 9.2861, 51.5036)
Luminance0.0929 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F46C1 #C1BA3F
analogous
#3F87C1 #3F46C1 #793FC1
triadic
#3F46C1 #C13F46 #46C13F
tetradic
#3F46C1 #C13F87 #C1BA3F #3FC179
square
#3F46C1 #C13F87 #C1BA3F #3FC179
split-complementary
#3F46C1 #C1793F #87C13F
monochromatic
#212465 #303593 #3F46C1 #6D73D0 #9C9FDF

Accessibility & contrast

On white

7.35
#3F46C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#3F46C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F46C1
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F46C1#FFFFFF#000000##FFFFFF
##3F46C11.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC5
Deuteranopia (green-blind)
#0050BF
Tritanopia (blue-blind)
#00667D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3f46c1;
/* rgb */ color: rgb(63, 70, 193);
/* oklch */ color: oklch(46.8% 0.189 273.9);
Tailwind
colors: {
  custom: {
    50: '#8479d5',
    500: '#3f46c1',
    950: '#000000',
  },
}
SCSS
$custom: #3f46c1;
$custom-light: #8479d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3f46c1",
  "rgb": {
    "r": 63,
    "g": 70,
    "b": 193
  },
  "hsl": {
    "h": 236.769,
    "s": 51.181,
    "l": 50.196
  },
  "oklch": {
    "l": 0.46776,
    "c": 0.18876,
    "h": 273.9
  },
  "luminance": 0.09287
}

Semantic roles & 50–950 ramp

primary
#3F46C1
secondary
#CBC891
accent
#D34DDB
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #3F46C1

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

Preview Lab → · Contrast checker → · Palette generator →

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