#3F5DC2#3F5DC2

#3F5DC2 is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.2% C 0.162 H 267.8°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#3F5DC2
RGBrgb(63, 93, 194)
HSLhsl(226, 52%, 50%)
HSVhsv(226, 68%, 76%)
CMYKcmyk(67.5%, 52.1%, 0%, 23.9%)
CIE-LABlab(42.43, 22.49, -56.26)
CIE-LCHlch(42.43, 60.59, 291.79°)
OKLaboklab(51.2% -0.0061 -0.1616)
OKLCHoklch(51.2% 0.162 267.8)
XYZxyz(15.6985, 12.7790, 52.6678)
Luminance0.1278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5DC2 #C2A43F
analogous
#3F9EC2 #3F5DC2 #633FC2
triadic
#3F5DC2 #C23F5D #5DC23F
tetradic
#3F5DC2 #C23F9E #C2A43F #3FC263
square
#3F5DC2 #C23F9E #C2A43F #3FC263
split-complementary
#3F5DC2 #C2633F #9EC23F
monochromatic
#203066 #2F4695 #3F5DC2 #6D84D1 #9CABE0

Accessibility & contrast

On white

5.91
#3F5DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#3F5DC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5DC2
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5DC2#FFFFFF#000000##FFFFFF
##3F5DC21.005.913.565.91
#FFFFFF5.911.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f5dc2;
/* rgb */ color: rgb(63, 93, 194);
/* oklch */ color: oklch(51.2% 0.162 267.8);
Tailwind
colors: {
  custom: {
    50: '#838ad5',
    500: '#3f5dc2',
    950: '#000000',
  },
}
SCSS
$custom: #3f5dc2;
$custom-light: #838ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5dc2",
  "rgb": {
    "r": 63,
    "g": 93,
    "b": 194
  },
  "hsl": {
    "h": 226.26,
    "s": 51.779,
    "l": 50.392
  },
  "oklch": {
    "l": 0.51195,
    "c": 0.1617,
    "h": 267.8
  },
  "luminance": 0.12781
}

Semantic roles & 50–950 ramp

primary
#3F5DC2
secondary
#CCBE91
accent
#BB4DDB
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #3F5DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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