#3F5DC0#3F5DC0

#3F5DC0 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.0% C 0.159 H 267.7°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#3F5DC0
RGBrgb(63, 93, 192)
HSLhsl(226, 51%, 50%)
HSVhsv(226, 67%, 75%)
CMYKcmyk(67.2%, 51.6%, 0%, 24.7%)
CIE-LABlab(42.29, 21.77, -55.32)
CIE-LCHlch(42.29, 59.45, 291.48°)
OKLaboklab(51.05% -0.0063 -0.1588)
OKLCHoklch(51.05% 0.159 267.7)
XYZxyz(15.4754, 12.6898, 51.4928)
Luminance0.1269 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5DC0 #C0A23F
analogous
#3F9DC0 #3F5DC0 #623FC0
triadic
#3F5DC0 #C03F5D #5DC03F
tetradic
#3F5DC0 #C03F9D #C0A23F #3FC062
square
#3F5DC0 #C03F9D #C0A23F #3FC062
split-complementary
#3F5DC0 #C0623F #9DC03F
monochromatic
#213064 #304792 #3F5DC0 #6D84CF #9BABDE

Accessibility & contrast

On white

5.94
#3F5DC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#3F5DC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5DC0
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5DC0#FFFFFF#000000##FFFFFF
##3F5DC01.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#206AC4
Deuteranopia (green-blind)
#005EBE
Tritanopia (blue-blind)
#007485
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3f5dc0;
/* rgb */ color: rgb(63, 93, 192);
/* oklch */ color: oklch(51.0% 0.159 267.7);
Tailwind
colors: {
  custom: {
    50: '#828ad4',
    500: '#3f5dc0',
    950: '#000000',
  },
}
SCSS
$custom: #3f5dc0;
$custom-light: #828ad4;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5dc0",
  "rgb": {
    "r": 63,
    "g": 93,
    "b": 192
  },
  "hsl": {
    "h": 226.047,
    "s": 50.588,
    "l": 50
  },
  "oklch": {
    "l": 0.51048,
    "c": 0.15894,
    "h": 267.7
  },
  "luminance": 0.12691
}

Semantic roles & 50–950 ramp

primary
#3F5DC0
secondary
#CABD91
accent
#B94EDA
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #3F5DC0

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

Preview Lab → · Contrast checker → · Palette generator →

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