#3F5DCD#3F5DCD

#3F5DCD is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.0% C 0.177 H 268.3°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#3F5DCD
RGBrgb(63, 93, 205)
HSLhsl(227, 59%, 53%)
HSVhsv(227, 69%, 80%)
CMYKcmyk(69.3%, 54.6%, 0%, 19.6%)
CIE-LABlab(43.20, 26.43, -61.37)
CIE-LCHlch(43.20, 66.82, 293.30°)
OKLaboklab(52.02% -0.0052 -0.1766)
OKLCHoklch(52.02% 0.177 268.3)
XYZxyz(16.9799, 13.2916, 59.4164)
Luminance0.1329 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5DCD #CDAF3F
analogous
#3FA4CD #3F5DCD #683FCD
triadic
#3F5DCD #CD3F5D #5DCD3F
tetradic
#3F5DCD #CD3FA4 #CDAF3F #3FCD68
square
#3F5DCD #CD3FA4 #CDAF3F #3FCD68
split-complementary
#3F5DCD #CD683F #A4CD3F
monochromatic
#1E3074 #2B44A4 #3F5DCD #7086DA #A0AFE6

Accessibility & contrast

On white

5.74
#3F5DCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#3F5DCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5DCD
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5DCD#FFFFFF#000000##FFFFFF
##3F5DCD1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD1
Deuteranopia (green-blind)
#0060CB
Tritanopia (blue-blind)
#00788C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #3f5dcd;
/* rgb */ color: rgb(63, 93, 205);
/* oklch */ color: oklch(52.0% 0.177 268.3);
Tailwind
colors: {
  custom: {
    50: '#858add',
    500: '#3f5dcd',
    950: '#000000',
  },
}
SCSS
$custom: #3f5dcd;
$custom-light: #858add;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5dcd",
  "rgb": {
    "r": 63,
    "g": 93,
    "b": 205
  },
  "hsl": {
    "h": 227.324,
    "s": 58.678,
    "l": 52.549
  },
  "oklch": {
    "l": 0.52022,
    "c": 0.1767,
    "h": 268.3
  },
  "luminance": 0.13293
}

Semantic roles & 50–950 ramp

primary
#3F5DCD
secondary
#D3C695
accent
#C146E2
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3F5DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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