#3F4EC5#3F4EC5

#3F4EC5 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.5% C 0.184 H 272.1°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#3F4EC5
RGBrgb(63, 78, 197)
HSLhsl(233, 54%, 51%)
HSVhsv(233, 68%, 77%)
CMYKcmyk(68%, 60.4%, 0%, 22.7%)
CIE-LABlab(38.79, 33.14, -63.91)
CIE-LCHlch(38.79, 71.99, 297.41°)
OKLaboklab(48.54% 0.0067 -0.1843)
OKLCHoklch(48.54% 0.184 272.1)
XYZxyz(14.8489, 10.5354, 54.0635)
Luminance0.1054 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F4EC5 #C5B63F
analogous
#3F91C5 #3F4EC5 #733FC5
triadic
#3F4EC5 #C53F4E #4EC53F
tetradic
#3F4EC5 #C53F91 #C5B63F #3FC573
square
#3F4EC5 #C53F91 #C5B63F #3FC573
split-complementary
#3F4EC5 #C5733F #91C53F
monochromatic
#20286A #2E3A99 #3F4EC5 #6E79D3 #9DA5E1

Accessibility & contrast

On white

6.76
#3F4EC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#3F4EC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F4EC5
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F4EC5#FFFFFF#000000##FFFFFF
##3F4EC51.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C9
Deuteranopia (green-blind)
#0055C3
Tritanopia (blue-blind)
#006C82
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3f4ec5;
/* rgb */ color: rgb(63, 78, 197);
/* oklch */ color: oklch(48.5% 0.184 272.1);
Tailwind
colors: {
  custom: {
    50: '#847fd7',
    500: '#3f4ec5',
    950: '#000000',
  },
}
SCSS
$custom: #3f4ec5;
$custom-light: #847fd7;
$custom-dark: #000000;
JSON
{
  "hex": "#3f4ec5",
  "rgb": {
    "r": 63,
    "g": 78,
    "b": 197
  },
  "hsl": {
    "h": 233.284,
    "s": 53.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.48539,
    "c": 0.1844,
    "h": 272.1
  },
  "luminance": 0.10537
}

Semantic roles & 50–950 ramp

primary
#3F4EC5
secondary
#CEC792
accent
#CD4BDD
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3F4EC5

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

Preview Lab → · Contrast checker → · Palette generator →

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