#3F5DD2#3F5DD2

#3F5DD2 is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.4% C 0.183 H 268.4°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#3F5DD2
RGBrgb(63, 93, 210)
HSLhsl(228, 62%, 54%)
HSVhsv(228, 70%, 82%)
CMYKcmyk(70%, 55.7%, 0%, 17.6%)
CIE-LABlab(43.56, 28.22, -63.65)
CIE-LCHlch(43.56, 69.63, 293.91°)
OKLaboklab(52.41% -0.005 -0.1833)
OKLCHoklch(52.41% 0.183 268.4)
XYZxyz(17.5931, 13.5368, 62.6460)
Luminance0.1354 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5DD2 #D2B43F
analogous
#3FA6D2 #3F5DD2 #6A3FD2
triadic
#3F5DD2 #D23F5D #5DD23F
tetradic
#3F5DD2 #D23FA6 #D2B43F #3FD26A
square
#3F5DD2 #D23FA6 #D2B43F #3FD26A
split-complementary
#3F5DD2 #D26A3F #A6D23F
monochromatic
#1D307A #2843AC #3F5DD2 #7187DE #A2B1E9

Accessibility & contrast

On white

5.66
#3F5DD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#3F5DD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5DD2
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5DD2#FFFFFF#000000##FFFFFF
##3F5DD21.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED6
Deuteranopia (green-blind)
#0060D0
Tritanopia (blue-blind)
#007A8E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #3f5dd2;
/* rgb */ color: rgb(63, 93, 210);
/* oklch */ color: oklch(52.4% 0.183 268.4);
Tailwind
colors: {
  custom: {
    50: '#868ae1',
    500: '#3f5dd2',
    950: '#000000',
  },
}
SCSS
$custom: #3f5dd2;
$custom-light: #868ae1;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5dd2",
  "rgb": {
    "r": 63,
    "g": 93,
    "b": 210
  },
  "hsl": {
    "h": 227.755,
    "s": 62.025,
    "l": 53.529
  },
  "oklch": {
    "l": 0.52408,
    "c": 0.18341,
    "h": 268.4
  },
  "luminance": 0.13539
}

Semantic roles & 50–950 ramp

primary
#3F5DD2
secondary
#D6C997
accent
#C443E5
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0D0B15
muted
#7D7C83

Preview Lab

Preview with #3F5DD2

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

Preview Lab → · Contrast checker → · Palette generator →

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