#3F5EC1#3F5EC1

#3F5EC1 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.3% C 0.159 H 267.5°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#3F5EC1
RGBrgb(63, 94, 193)
HSLhsl(226, 51%, 50%)
HSVhsv(226, 67%, 76%)
CMYKcmyk(67.4%, 51.3%, 0%, 24.3%)
CIE-LABlab(42.63, 21.48, -55.35)
CIE-LCHlch(42.63, 59.38, 291.21°)
OKLaboklab(51.33% -0.0071 -0.1589)
OKLCHoklch(51.33% 0.159 267.5)
XYZxyz(15.6749, 12.9109, 52.1077)
Luminance0.1291 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5EC1 #C1A23F
analogous
#3F9FC1 #3F5EC1 #613FC1
triadic
#3F5EC1 #C13F5E #5EC13F
tetradic
#3F5EC1 #C13F9F #C1A23F #3FC161
square
#3F5EC1 #C13F9F #C1A23F #3FC161
split-complementary
#3F5EC1 #C1613F #9FC13F
monochromatic
#213165 #304793 #3F5EC1 #6D85D0 #9CACDF

Accessibility & contrast

On white

5.86
#3F5EC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#3F5EC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5EC1
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5EC1#FFFFFF#000000##FFFFFF
##3F5EC11.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#226BC5
Deuteranopia (green-blind)
#005FBF
Tritanopia (blue-blind)
#007586
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3f5ec1;
/* rgb */ color: rgb(63, 94, 193);
/* oklch */ color: oklch(51.3% 0.159 267.5);
Tailwind
colors: {
  custom: {
    50: '#828bd4',
    500: '#3f5ec1',
    950: '#000000',
  },
}
SCSS
$custom: #3f5ec1;
$custom-light: #828bd4;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5ec1",
  "rgb": {
    "r": 63,
    "g": 94,
    "b": 193
  },
  "hsl": {
    "h": 225.692,
    "s": 51.181,
    "l": 50.196
  },
  "oklch": {
    "l": 0.51325,
    "c": 0.15907,
    "h": 267.5
  },
  "luminance": 0.12912
}

Semantic roles & 50–950 ramp

primary
#3F5EC1
secondary
#CBBD91
accent
#B94DDB
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #3F5EC1

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

Preview Lab → · Contrast checker → · Palette generator →

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