#3F4AC5#3F4AC5

#3F4AC5 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.8% C 0.189 H 273.0°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#3F4AC5
RGBrgb(63, 74, 197)
HSLhsl(235, 54%, 51%)
HSVhsv(235, 68%, 77%)
CMYKcmyk(68%, 62.4%, 0%, 22.7%)
CIE-LABlab(37.81, 35.66, -65.50)
CIE-LCHlch(37.81, 74.58, 298.56°)
OKLaboklab(47.82% 0.0098 -0.189)
OKLCHoklch(47.82% 0.189 273)
XYZxyz(14.5733, 9.9842, 53.9716)
Luminance0.0999 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F4AC5 #C5BA3F
analogous
#3F8DC5 #3F4AC5 #773FC5
triadic
#3F4AC5 #C53F4A #4AC53F
tetradic
#3F4AC5 #C53F8D #C5BA3F #3FC577
square
#3F4AC5 #C53F8D #C5BA3F #3FC577
split-complementary
#3F4AC5 #C5773F #8DC53F
monochromatic
#20266A #2E3799 #3F4AC5 #6E76D3 #9DA3E1

Accessibility & contrast

On white

7.01
#3F4AC5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#3F4AC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F4AC5
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F4AC5#FFFFFF#000000##FFFFFF
##3F4AC51.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC9
Deuteranopia (green-blind)
#0053C3
Tritanopia (blue-blind)
#006980
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3f4ac5;
/* rgb */ color: rgb(63, 74, 197);
/* oklch */ color: oklch(47.8% 0.189 273.0);
Tailwind
colors: {
  custom: {
    50: '#857cd8',
    500: '#3f4ac5',
    950: '#000000',
  },
}
SCSS
$custom: #3f4ac5;
$custom-light: #857cd8;
$custom-dark: #000000;
JSON
{
  "hex": "#3f4ac5",
  "rgb": {
    "r": 63,
    "g": 74,
    "b": 197
  },
  "hsl": {
    "h": 235.075,
    "s": 53.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.47821,
    "c": 0.18922,
    "h": 273
  },
  "luminance": 0.09986
}

Semantic roles & 50–950 ramp

primary
#3F4AC5
secondary
#CEC992
accent
#D14BDD
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #3F4AC5

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

Preview Lab → · Contrast checker → · Palette generator →

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