#3F64D2#3F64D2

#3F64D2 is a mid, vivid blue. Relative luminance 0.148; OKLCH L 53.8% C 0.175 H 266.5°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#3F64D2
RGBrgb(63, 100, 210)
HSLhsl(225, 62%, 54%)
HSVhsv(225, 70%, 82%)
CMYKcmyk(70%, 52.4%, 0%, 17.6%)
CIE-LABlab(45.39, 23.77, -60.69)
CIE-LCHlch(45.39, 65.18, 291.39°)
OKLaboklab(53.79% -0.0107 -0.1745)
OKLCHoklch(53.79% 0.175 266.5)
XYZxyz(18.2359, 14.8224, 62.8602)
Luminance0.1482 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F64D2 #D2AD3F
analogous
#3FADD2 #3F64D2 #633FD2
triadic
#3F64D2 #D23F64 #64D23F
tetradic
#3F64D2 #D23FAD #D2AD3F #3FD263
square
#3F64D2 #D23FAD #D2AD3F #3FD263
split-complementary
#3F64D2 #D2633F #ADD23F
monochromatic
#1D347A #2849AC #3F64D2 #718CDE #A2B4E9

Accessibility & contrast

On white

5.30
#3F64D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#3F64D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F64D2
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F64D2#FFFFFF#000000##FFFFFF
##3F64D21.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1972D6
Deuteranopia (green-blind)
#0065D0
Tritanopia (blue-blind)
#007E91
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #3f64d2;
/* rgb */ color: rgb(63, 100, 210);
/* oklch */ color: oklch(53.8% 0.175 266.5);
Tailwind
colors: {
  custom: {
    50: '#868fe0',
    500: '#3f64d2',
    950: '#000000',
  },
}
SCSS
$custom: #3f64d2;
$custom-light: #868fe0;
$custom-dark: #000000;
JSON
{
  "hex": "#3f64d2",
  "rgb": {
    "r": 63,
    "g": 100,
    "b": 210
  },
  "hsl": {
    "h": 224.898,
    "s": 62.025,
    "l": 53.529
  },
  "oklch": {
    "l": 0.53786,
    "c": 0.17485,
    "h": 266.5
  },
  "luminance": 0.14824
}

Semantic roles & 50–950 ramp

primary
#3F64D2
secondary
#D6C697
accent
#BC43E5
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #3F64D2

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

Preview Lab → · Contrast checker → · Palette generator →

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