#3F5DC1#3F5DC1

#3F5DC1 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.1% C 0.160 H 267.8°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#3F5DC1
RGBrgb(63, 93, 193)
HSLhsl(226, 51%, 50%)
HSVhsv(226, 67%, 76%)
CMYKcmyk(67.4%, 51.8%, 0%, 24.3%)
CIE-LABlab(42.36, 22.13, -55.79)
CIE-LCHlch(42.36, 60.02, 291.63°)
OKLaboklab(51.12% -0.0062 -0.1602)
OKLCHoklch(51.12% 0.16 267.8)
XYZxyz(15.5866, 12.7342, 52.0783)
Luminance0.1274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5DC1 #C1A33F
analogous
#3F9EC1 #3F5DC1 #623FC1
triadic
#3F5DC1 #C13F5D #5DC13F
tetradic
#3F5DC1 #C13F9E #C1A33F #3FC162
square
#3F5DC1 #C13F9E #C1A33F #3FC162
split-complementary
#3F5DC1 #C1623F #9EC13F
monochromatic
#213065 #304793 #3F5DC1 #6D84D0 #9CABDF

Accessibility & contrast

On white

5.92
#3F5DC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#3F5DC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5DC1
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5DC1#FFFFFF#000000##FFFFFF
##3F5DC11.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F6AC5
Deuteranopia (green-blind)
#005EBF
Tritanopia (blue-blind)
#007586
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3f5dc1;
/* rgb */ color: rgb(63, 93, 193);
/* oklch */ color: oklch(51.1% 0.160 267.8);
Tailwind
colors: {
  custom: {
    50: '#838ad4',
    500: '#3f5dc1',
    950: '#000000',
  },
}
SCSS
$custom: #3f5dc1;
$custom-light: #838ad4;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5dc1",
  "rgb": {
    "r": 63,
    "g": 93,
    "b": 193
  },
  "hsl": {
    "h": 226.154,
    "s": 51.181,
    "l": 50.196
  },
  "oklch": {
    "l": 0.51122,
    "c": 0.16032,
    "h": 267.8
  },
  "luminance": 0.12736
}

Semantic roles & 50–950 ramp

primary
#3F5DC1
secondary
#CBBE91
accent
#BA4DDB
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #3F5DC1

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

Preview Lab → · Contrast checker → · Palette generator →

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