#3F4ACC#3F4ACC

#3F4ACC is a mid, vivid blue. Relative luminance 0.103; OKLCH L 48.4% C 0.198 H 272.7°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#3F4ACC
RGBrgb(63, 74, 204)
HSLhsl(235, 58%, 52%)
HSVhsv(235, 69%, 80%)
CMYKcmyk(69.1%, 63.7%, 0%, 20%)
CIE-LABlab(38.40, 38.08, -68.61)
CIE-LCHlch(38.40, 78.47, 299.03°)
OKLaboklab(48.43% 0.0094 -0.1981)
OKLCHoklch(48.43% 0.198 272.7)
XYZxyz(15.3941, 10.3125, 58.2943)
Luminance0.1031 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F4ACC #CCC13F
analogous
#3F91CC #3F4ACC #7A3FCC
triadic
#3F4ACC #CC3F4A #4ACC3F
tetradic
#3F4ACC #CC3F91 #CCC13F #3FCC7A
square
#3F4ACC #CC3F91 #CCC13F #3FCC7A
split-complementary
#3F4ACC #CC7A3F #91CC3F
monochromatic
#1E2572 #2B35A3 #3F4ACC #6F78D9 #A0A5E6

Accessibility & contrast

On white

6.86
#3F4ACC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#3F4ACC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F4ACC
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F4ACC#FFFFFF#000000##FFFFFF
##3F4ACC1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D0
Deuteranopia (green-blind)
#0054CA
Tritanopia (blue-blind)
#006C84
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3f4acc;
/* rgb */ color: rgb(63, 74, 204);
/* oklch */ color: oklch(48.4% 0.198 272.7);
Tailwind
colors: {
  custom: {
    50: '#867cdd',
    500: '#3f4acc',
    950: '#000000',
  },
}
SCSS
$custom: #3f4acc;
$custom-light: #867cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#3f4acc",
  "rgb": {
    "r": 63,
    "g": 74,
    "b": 204
  },
  "hsl": {
    "h": 235.319,
    "s": 58.025,
    "l": 52.353
  },
  "oklch": {
    "l": 0.4843,
    "c": 0.19832,
    "h": 272.7
  },
  "luminance": 0.10314
}

Semantic roles & 50–950 ramp

primary
#3F4ACC
secondary
#D2CD95
accent
#D547E1
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0D0915
muted
#7D7B83

Preview Lab

Preview with #3F4ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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