#3F5AC7#3F5AC7

#3F5AC7 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 51.0% C 0.172 H 269.0°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#3F5AC7
RGBrgb(63, 90, 199)
HSLhsl(228, 55%, 51%)
HSVhsv(228, 68%, 78%)
CMYKcmyk(68.3%, 54.8%, 0%, 22%)
CIE-LABlab(41.99, 26.20, -59.87)
CIE-LCHlch(41.99, 65.35, 293.64°)
OKLaboklab(50.97% -0.0031 -0.1723)
OKLCHoklch(50.97% 0.172 269)
XYZxyz(16.0113, 12.4911, 55.5890)
Luminance0.1249 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5AC7 #C7AC3F
analogous
#3F9EC7 #3F5AC7 #683FC7
triadic
#3F5AC7 #C73F5A #5AC73F
tetradic
#3F5AC7 #C73F9E #C7AC3F #3FC768
square
#3F5AC7 #C73F9E #C7AC3F #3FC768
split-complementary
#3F5AC7 #C7683F #9EC73F
monochromatic
#202F6C #2D439B #3F5AC7 #6E83D5 #9EABE3

Accessibility & contrast

On white

6.00
#3F5AC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#3F5AC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5AC7
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5AC7#FFFFFF#000000##FFFFFF
##3F5AC71.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACB
Deuteranopia (green-blind)
#005DC5
Tritanopia (blue-blind)
#007488
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #3f5ac7;
/* rgb */ color: rgb(63, 90, 199);
/* oklch */ color: oklch(51.0% 0.172 269.0);
Tailwind
colors: {
  custom: {
    50: '#8488d9',
    500: '#3f5ac7',
    950: '#000000',
  },
}
SCSS
$custom: #3f5ac7;
$custom-light: #8488d9;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5ac7",
  "rgb": {
    "r": 63,
    "g": 90,
    "b": 199
  },
  "hsl": {
    "h": 228.088,
    "s": 54.839,
    "l": 51.373
  },
  "oklch": {
    "l": 0.50973,
    "c": 0.17229,
    "h": 269
  },
  "luminance": 0.12493
}

Semantic roles & 50–950 ramp

primary
#3F5AC7
secondary
#CFC393
accent
#C14ADE
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3F5AC7

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

Preview Lab → · Contrast checker → · Palette generator →

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