#3F4AC4#3F4AC4

#3F4AC4 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.7% C 0.188 H 273.0°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#3F4AC4
RGBrgb(63, 74, 196)
HSLhsl(235, 53%, 51%)
HSVhsv(235, 68%, 77%)
CMYKcmyk(67.9%, 62.2%, 0%, 23.1%)
CIE-LABlab(37.73, 35.31, -65.05)
CIE-LCHlch(37.73, 74.02, 298.49°)
OKLaboklab(47.74% 0.0098 -0.1877)
OKLCHoklch(47.74% 0.188 273)
XYZxyz(14.4592, 9.9385, 53.3702)
Luminance0.0994 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F4AC4 #C4B93F
analogous
#3F8CC4 #3F4AC4 #773FC4
triadic
#3F4AC4 #C43F4A #4AC43F
tetradic
#3F4AC4 #C43F8C #C4B93F #3FC477
square
#3F4AC4 #C43F8C #C4B93F #3FC477
split-complementary
#3F4AC4 #C4773F #8CC43F
monochromatic
#202668 #2E3797 #3F4AC4 #6E76D2 #9DA2E1

Accessibility & contrast

On white

7.03
#3F4AC4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#3F4AC4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F4AC4
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F4AC4#FFFFFF#000000##FFFFFF
##3F4AC41.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f4ac4;
/* rgb */ color: rgb(63, 74, 196);
/* oklch */ color: oklch(47.7% 0.188 273.0);
Tailwind
colors: {
  custom: {
    50: '#847cd7',
    500: '#3f4ac4',
    950: '#000000',
  },
}
SCSS
$custom: #3f4ac4;
$custom-light: #847cd7;
$custom-dark: #000000;
JSON
{
  "hex": "#3f4ac4",
  "rgb": {
    "r": 63,
    "g": 74,
    "b": 196
  },
  "hsl": {
    "h": 235.038,
    "s": 52.988,
    "l": 50.784
  },
  "oklch": {
    "l": 0.47735,
    "c": 0.18792,
    "h": 273
  },
  "luminance": 0.0994
}

Semantic roles & 50–950 ramp

primary
#3F4AC4
secondary
#CDC892
accent
#D04BDC
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #3F4AC4

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

Preview Lab → · Contrast checker → · Palette generator →

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