#3F46B2#3F46B2

#3F46B2 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.5% C 0.169 H 274.7°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#3F46B2
RGBrgb(63, 70, 178)
HSLhsl(236, 48%, 47%)
HSVhsv(236, 65%, 70%)
CMYKcmyk(64.6%, 60.7%, 0%, 30.2%)
CIE-LABlab(35.30, 31.59, -58.43)
CIE-LCHlch(35.30, 66.43, 298.40°)
OKLaboklab(45.49% 0.0137 -0.1683)
OKLCHoklch(45.49% 0.169 274.7)
XYZxyz(12.2733, 8.6504, 43.1338)
Luminance0.0865 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F46B2 #B2AB3F
analogous
#3F7FB2 #3F46B2 #723FB2
triadic
#3F46B2 #B23F46 #46B23F
tetradic
#3F46B2 #B23F7F #B2AB3F #3FB272
square
#3F46B2 #B23F7F #B2AB3F #3FB272
split-complementary
#3F46B2 #B2723F #7FB23F
monochromatic
#1F2258 #2F3485 #3F46B2 #666CC9 #9397D9

Accessibility & contrast

On white

7.69
#3F46B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#3F46B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F46B2
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F46B2#FFFFFF#000000##FFFFFF
##3F46B21.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B6
Deuteranopia (green-blind)
#004EB0
Tritanopia (blue-blind)
#006175
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3f46b2;
/* rgb */ color: rgb(63, 70, 178);
/* oklch */ color: oklch(45.5% 0.169 274.7);
Tailwind
colors: {
  custom: {
    50: '#8179ca',
    500: '#3f46b2',
    950: '#000000',
  },
}
SCSS
$custom: #3f46b2;
$custom-light: #8179ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3f46b2",
  "rgb": {
    "r": 63,
    "g": 70,
    "b": 178
  },
  "hsl": {
    "h": 236.348,
    "s": 47.718,
    "l": 47.255
  },
  "oklch": {
    "l": 0.45492,
    "c": 0.16882,
    "h": 274.7
  },
  "luminance": 0.08651
}

Semantic roles & 50–950 ramp

primary
#3F46B2
secondary
#C4C089
accent
#CF50D7
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3F46B2

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

Preview Lab → · Contrast checker → · Palette generator →

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