#3F4EB5#3F4EB5

#3F4EB5 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.2% C 0.163 H 272.3°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#3F4EB5
RGBrgb(63, 78, 181)
HSLhsl(232, 48%, 48%)
HSVhsv(232, 65%, 71%)
CMYKcmyk(65.2%, 56.9%, 0%, 29%)
CIE-LABlab(37.55, 27.51, -56.55)
CIE-LCHlch(37.55, 62.88, 295.95°)
OKLaboklab(47.24% 0.0066 -0.1626)
OKLCHoklch(47.24% 0.163 272.3)
XYZxyz(13.1120, 9.8406, 44.9155)
Luminance0.0984 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F4EB5 #B5A63F
analogous
#3F89B5 #3F4EB5 #6B3FB5
triadic
#3F4EB5 #B53F4E #4EB53F
tetradic
#3F4EB5 #B53F89 #B5A63F #3FB56B
square
#3F4EB5 #B53F89 #B5A63F #3FB56B
split-complementary
#3F4EB5 #B56B3F #89B53F
monochromatic
#1F275A #2F3A88 #3F4EB5 #6774CA #949DDA

Accessibility & contrast

On white

7.07
#3F4EB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#3F4EB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F4EB5
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F4EB5#FFFFFF#000000##FFFFFF
##3F4EB51.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB9
Deuteranopia (green-blind)
#0053B3
Tritanopia (blue-blind)
#00677A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #3f4eb5;
/* rgb */ color: rgb(63, 78, 181);
/* oklch */ color: oklch(47.2% 0.163 272.3);
Tailwind
colors: {
  custom: {
    50: '#817fcc',
    500: '#3f4eb5',
    950: '#000000',
  },
}
SCSS
$custom: #3f4eb5;
$custom-light: #817fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#3f4eb5",
  "rgb": {
    "r": 63,
    "g": 78,
    "b": 181
  },
  "hsl": {
    "h": 232.373,
    "s": 48.361,
    "l": 47.843
  },
  "oklch": {
    "l": 0.47237,
    "c": 0.16276,
    "h": 272.3
  },
  "luminance": 0.09842
}

Semantic roles & 50–950 ramp

primary
#3F4EB5
secondary
#C5BE8A
accent
#C750D8
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3F4EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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