#3F5DCE#3F5DCE

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

Color values

HEX#3F5DCE
RGBrgb(63, 93, 206)
HSLhsl(227, 59%, 53%)
HSVhsv(227, 69%, 81%)
CMYKcmyk(69.4%, 54.9%, 0%, 19.2%)
CIE-LABlab(43.27, 26.79, -61.83)
CIE-LCHlch(43.27, 67.38, 293.43°)
OKLaboklab(52.1% -0.0052 -0.178)
OKLCHoklch(52.1% 0.178 268.3)
XYZxyz(17.1010, 13.3400, 60.0542)
Luminance0.1334 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5DCE #CEB03F
analogous
#3FA4CE #3F5DCE #693FCE
triadic
#3F5DCE #CE3F5D #5DCE3F
tetradic
#3F5DCE #CE3FA4 #CEB03F #3FCE69
square
#3F5DCE #CE3FA4 #CEB03F #3FCE69
split-complementary
#3F5DCE #CE693F #A4CE3F
monochromatic
#1E3075 #2A44A6 #3F5DCE #7086DA #A1AFE7

Accessibility & contrast

On white

5.72
#3F5DCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#3F5DCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5DCE
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5DCE#FFFFFF#000000##FFFFFF
##3F5DCE1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f5dce;
/* rgb */ color: rgb(63, 93, 206);
/* oklch */ color: oklch(52.1% 0.178 268.3);
Tailwind
colors: {
  custom: {
    50: '#858ade',
    500: '#3f5dce',
    950: '#000000',
  },
}
SCSS
$custom: #3f5dce;
$custom-light: #858ade;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5dce",
  "rgb": {
    "r": 63,
    "g": 93,
    "b": 206
  },
  "hsl": {
    "h": 227.413,
    "s": 59.336,
    "l": 52.745
  },
  "oklch": {
    "l": 0.52098,
    "c": 0.17805,
    "h": 268.3
  },
  "luminance": 0.13342
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3F5DCE

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

Preview Lab → · Contrast checker → · Palette generator →

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