#3F5DD4#3F5DD4

#3F5DD4 is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.6% C 0.186 H 268.5°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#3F5DD4
RGBrgb(63, 93, 212)
HSLhsl(228, 63%, 54%)
HSVhsv(228, 70%, 83%)
CMYKcmyk(70.3%, 56.1%, 0%, 16.9%)
CIE-LABlab(43.71, 28.94, -64.56)
CIE-LCHlch(43.71, 70.75, 294.14°)
OKLaboklab(52.56% -0.0049 -0.186)
OKLCHoklch(52.56% 0.186 268.5)
XYZxyz(17.8438, 13.6371, 63.9664)
Luminance0.1364 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5DD4 #D4B63F
analogous
#3FA8D4 #3F5DD4 #6C3FD4
triadic
#3F5DD4 #D43F5D #5DD43F
tetradic
#3F5DD4 #D43FA8 #D4B63F #3FD46C
square
#3F5DD4 #D43FA8 #D4B63F #3FD46C
split-complementary
#3F5DD4 #D46C3F #A8D43F
monochromatic
#1C2F7D #2742AF #3F5DD4 #7187DF #A3B1EA

Accessibility & contrast

On white

5.63
#3F5DD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#3F5DD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5DD4
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5DD4#FFFFFF#000000##FFFFFF
##3F5DD41.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED8
Deuteranopia (green-blind)
#0061D2
Tritanopia (blue-blind)
#007A8F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #3f5dd4;
/* rgb */ color: rgb(63, 93, 212);
/* oklch */ color: oklch(52.6% 0.186 268.5);
Tailwind
colors: {
  custom: {
    50: '#868ae2',
    500: '#3f5dd4',
    950: '#000000',
  },
}
SCSS
$custom: #3f5dd4;
$custom-light: #868ae2;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5dd4",
  "rgb": {
    "r": 63,
    "g": 93,
    "b": 212
  },
  "hsl": {
    "h": 227.919,
    "s": 63.404,
    "l": 53.922
  },
  "oklch": {
    "l": 0.52564,
    "c": 0.18607,
    "h": 268.5
  },
  "luminance": 0.13639
}

Semantic roles & 50–950 ramp

primary
#3F5DD4
secondary
#D7CA98
accent
#C541E6
background
#F9F8FE
surface
#F1F0FC
border
#CBCBD5
text
#0D0B15
muted
#7E7C84

Preview Lab

Preview with #3F5DD4

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

Preview Lab → · Contrast checker → · Palette generator →

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