#3F4EC2#3F4EC2

#3F4EC2 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 48.3% C 0.180 H 272.1°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#3F4EC2
RGBrgb(63, 78, 194)
HSLhsl(233, 52%, 50%)
HSVhsv(233, 68%, 76%)
CMYKcmyk(67.5%, 59.8%, 0%, 23.9%)
CIE-LABlab(38.55, 32.09, -62.55)
CIE-LCHlch(38.55, 70.30, 297.16°)
OKLaboklab(48.29% 0.0067 -0.1803)
OKLCHoklch(48.29% 0.18 272.1)
XYZxyz(14.5086, 10.3992, 52.2711)
Luminance0.1040 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F4EC2 #C2B33F
analogous
#3F8FC2 #3F4EC2 #713FC2
triadic
#3F4EC2 #C23F4E #4EC23F
tetradic
#3F4EC2 #C23F8F #C2B33F #3FC271
square
#3F4EC2 #C23F8F #C2B33F #3FC271
split-complementary
#3F4EC2 #C2713F #8FC23F
monochromatic
#202866 #2F3B95 #3F4EC2 #6D79D1 #9CA4E0

Accessibility & contrast

On white

6.82
#3F4EC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#3F4EC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F4EC2
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F4EC2#FFFFFF#000000##FFFFFF
##3F4EC21.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C6
Deuteranopia (green-blind)
#0055C0
Tritanopia (blue-blind)
#006B80
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3f4ec2;
/* rgb */ color: rgb(63, 78, 194);
/* oklch */ color: oklch(48.3% 0.180 272.1);
Tailwind
colors: {
  custom: {
    50: '#847fd5',
    500: '#3f4ec2',
    950: '#000000',
  },
}
SCSS
$custom: #3f4ec2;
$custom-light: #847fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#3f4ec2",
  "rgb": {
    "r": 63,
    "g": 78,
    "b": 194
  },
  "hsl": {
    "h": 233.13,
    "s": 51.779,
    "l": 50.392
  },
  "oklch": {
    "l": 0.48289,
    "c": 0.18041,
    "h": 272.1
  },
  "luminance": 0.10401
}

Semantic roles & 50–950 ramp

primary
#3F4EC2
secondary
#CCC591
accent
#CB4DDB
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #3F4EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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