#3F5BC1#3F5BC1

#3F5BC1 is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.7% C 0.163 H 268.5°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#3F5BC1
RGBrgb(63, 91, 193)
HSLhsl(227, 51%, 50%)
HSVhsv(227, 67%, 76%)
CMYKcmyk(67.4%, 52.8%, 0%, 24.3%)
CIE-LABlab(41.83, 23.41, -56.65)
CIE-LCHlch(41.83, 61.30, 292.45°)
OKLaboklab(50.72% -0.0044 -0.1628)
OKLCHoklch(50.72% 0.163 268.5)
XYZxyz(15.4133, 12.3877, 52.0205)
Luminance0.1239 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5BC1 #C1A53F
analogous
#3F9CC1 #3F5BC1 #643FC1
triadic
#3F5BC1 #C13F5B #5BC13F
tetradic
#3F5BC1 #C13F9C #C1A53F #3FC164
square
#3F5BC1 #C13F9C #C1A53F #3FC164
split-complementary
#3F5BC1 #C1643F #9CC13F
monochromatic
#212F65 #304593 #3F5BC1 #6D83D0 #9CAADF

Accessibility & contrast

On white

6.04
#3F5BC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#3F5BC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5BC1
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5BC1#FFFFFF#000000##FFFFFF
##3F5BC11.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1769C5
Deuteranopia (green-blind)
#005DBF
Tritanopia (blue-blind)
#007385
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #3f5bc1;
/* rgb */ color: rgb(63, 91, 193);
/* oklch */ color: oklch(50.7% 0.163 268.5);
Tailwind
colors: {
  custom: {
    50: '#8389d4',
    500: '#3f5bc1',
    950: '#000000',
  },
}
SCSS
$custom: #3f5bc1;
$custom-light: #8389d4;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5bc1",
  "rgb": {
    "r": 63,
    "g": 91,
    "b": 193
  },
  "hsl": {
    "h": 227.077,
    "s": 51.181,
    "l": 50.196
  },
  "oklch": {
    "l": 0.50718,
    "c": 0.16283,
    "h": 268.5
  },
  "luminance": 0.12389
}

Semantic roles & 50–950 ramp

primary
#3F5BC1
secondary
#CBBE91
accent
#BC4DDB
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #3F5BC1

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

Preview Lab → · Contrast checker → · Palette generator →

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