#3F64D8#3F64D8

#3F64D8 is a mid, vivid blue. Relative luminance 0.151; OKLCH L 54.2% C 0.183 H 266.8°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#3F64D8
RGBrgb(63, 100, 216)
HSLhsl(225, 66%, 55%)
HSVhsv(225, 71%, 85%)
CMYKcmyk(70.8%, 53.7%, 0%, 15.3%)
CIE-LABlab(45.81, 25.93, -63.44)
CIE-LCHlch(45.81, 68.53, 292.23°)
OKLaboklab(54.23% -0.0102 -0.1826)
OKLCHoklch(54.23% 0.183 266.8)
XYZxyz(18.9974, 15.1270, 66.8710)
Luminance0.1513 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F64D8 #D8B33F
analogous
#3FB1D8 #3F64D8 #663FD8
triadic
#3F64D8 #D83F64 #64D83F
tetradic
#3F64D8 #D83FB1 #D8B33F #3FD866
square
#3F64D8 #D83FB1 #D8B33F #3FD866
split-complementary
#3F64D8 #D8663F #B1D83F
monochromatic
#1A3482 #2548B5 #3F64D8 #728DE2 #A5B6ED

Accessibility & contrast

On white

5.22
#3F64D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#3F64D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F64D8
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F64D8#FFFFFF#000000##FFFFFF
##3F64D81.005.224.035.22
#FFFFFF5.221.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0374DC
Deuteranopia (green-blind)
#0066D6
Tritanopia (blue-blind)
#008094
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #3f64d8;
/* rgb */ color: rgb(63, 100, 216);
/* oklch */ color: oklch(54.2% 0.183 266.8);
Tailwind
colors: {
  custom: {
    50: '#878fe5',
    500: '#3f64d8',
    950: '#000000',
  },
}
SCSS
$custom: #3f64d8;
$custom-light: #878fe5;
$custom-dark: #000000;
JSON
{
  "hex": "#3f64d8",
  "rgb": {
    "r": 63,
    "g": 100,
    "b": 216
  },
  "hsl": {
    "h": 225.49,
    "s": 66.234,
    "l": 54.706
  },
  "oklch": {
    "l": 0.54234,
    "c": 0.18289,
    "h": 266.8
  },
  "luminance": 0.15129
}

Semantic roles & 50–950 ramp

primary
#3F64D8
secondary
#DACA99
accent
#C03FE9
background
#F9F8FE
surface
#F1F0FC
border
#CBCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #3F64D8

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

Preview Lab → · Contrast checker → · Palette generator →

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