#3F5DC3#3F5DC3

#3F5DC3 is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.3% C 0.163 H 267.9°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#3F5DC3
RGBrgb(63, 93, 195)
HSLhsl(226, 52%, 51%)
HSVhsv(226, 68%, 76%)
CMYKcmyk(67.7%, 52.3%, 0%, 23.5%)
CIE-LABlab(42.50, 22.84, -56.73)
CIE-LCHlch(42.50, 61.15, 291.94°)
OKLaboklab(51.27% -0.006 -0.163)
OKLCHoklch(51.27% 0.163 267.9)
XYZxyz(15.8112, 12.8241, 53.2612)
Luminance0.1283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5DC3 #C3A53F
analogous
#3F9FC3 #3F5DC3 #633FC3
triadic
#3F5DC3 #C33F5D #5DC33F
tetradic
#3F5DC3 #C33F9F #C3A53F #3FC363
square
#3F5DC3 #C33F9F #C3A53F #3FC363
split-complementary
#3F5DC3 #C3633F #9FC33F
monochromatic
#203067 #2F4696 #3F5DC3 #6E84D2 #9CACE0

Accessibility & contrast

On white

5.89
#3F5DC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#3F5DC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5DC3
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5DC3#FFFFFF#000000##FFFFFF
##3F5DC31.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B6BC7
Deuteranopia (green-blind)
#005FC1
Tritanopia (blue-blind)
#007587
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3f5dc3;
/* rgb */ color: rgb(63, 93, 195);
/* oklch */ color: oklch(51.3% 0.163 267.9);
Tailwind
colors: {
  custom: {
    50: '#838ad6',
    500: '#3f5dc3',
    950: '#000000',
  },
}
SCSS
$custom: #3f5dc3;
$custom-light: #838ad6;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5dc3",
  "rgb": {
    "r": 63,
    "g": 93,
    "b": 195
  },
  "hsl": {
    "h": 226.364,
    "s": 52.381,
    "l": 50.588
  },
  "oklch": {
    "l": 0.51269,
    "c": 0.16308,
    "h": 267.9
  },
  "luminance": 0.12826
}

Semantic roles & 50–950 ramp

primary
#3F5DC3
secondary
#CCBF92
accent
#BB4CDC
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #3F5DC3

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

Preview Lab → · Contrast checker → · Palette generator →

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