#3F46B3#3F46B3

#3F46B3 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.6% C 0.170 H 274.6°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#3F46B3
RGBrgb(63, 70, 179)
HSLhsl(236, 48%, 47%)
HSVhsv(236, 65%, 70%)
CMYKcmyk(64.8%, 60.9%, 0%, 29.8%)
CIE-LABlab(35.38, 31.94, -58.90)
CIE-LCHlch(35.38, 67.00, 298.47°)
OKLaboklab(45.58% 0.0137 -0.1696)
OKLCHoklch(45.58% 0.17 274.6)
XYZxyz(12.3741, 8.6907, 43.6645)
Luminance0.0869 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F46B3 #B3AC3F
analogous
#3F80B3 #3F46B3 #723FB3
triadic
#3F46B3 #B33F46 #46B33F
tetradic
#3F46B3 #B33F80 #B3AC3F #3FB372
square
#3F46B3 #B33F80 #B3AC3F #3FB372
split-complementary
#3F46B3 #B3723F #80B33F
monochromatic
#1F2358 #2F3486 #3F46B3 #666CC9 #9398D9

Accessibility & contrast

On white

7.67
#3F46B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#3F46B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F46B3
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F46B3#FFFFFF#000000##FFFFFF
##3F46B31.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B7
Deuteranopia (green-blind)
#004EB1
Tritanopia (blue-blind)
#006176
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3f46b3;
/* rgb */ color: rgb(63, 70, 179);
/* oklch */ color: oklch(45.6% 0.170 274.6);
Tailwind
colors: {
  custom: {
    50: '#8179cb',
    500: '#3f46b3',
    950: '#000000',
  },
}
SCSS
$custom: #3f46b3;
$custom-light: #8179cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3f46b3",
  "rgb": {
    "r": 63,
    "g": 70,
    "b": 179
  },
  "hsl": {
    "h": 236.379,
    "s": 47.934,
    "l": 47.451
  },
  "oklch": {
    "l": 0.45575,
    "c": 0.17017,
    "h": 274.6
  },
  "luminance": 0.08692
}

Semantic roles & 50–950 ramp

primary
#3F46B3
secondary
#C4C189
accent
#CF50D8
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #3F46B3

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

Preview Lab → · Contrast checker → · Palette generator →

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