#3F64E4#3F64E4

#3F64E4 is a mid, vivid blue. Relative luminance 0.158; OKLCH L 55.2% C 0.199 H 267.3°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#3F64E4
RGBrgb(63, 100, 228)
HSLhsl(227, 75%, 57%)
HSVhsv(227, 72%, 89%)
CMYKcmyk(72.4%, 56.1%, 0%, 10.6%)
CIE-LABlab(46.67, 30.23, -68.84)
CIE-LCHlch(46.67, 75.19, 293.71°)
OKLaboklab(55.16% -0.0095 -0.1985)
OKLCHoklch(55.16% 0.199 267.3)
XYZxyz(20.6058, 15.7704, 75.3418)
Luminance0.1577 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F64E4 #E4BF3F
analogous
#3FB7E4 #3F64E4 #6C3FE4
triadic
#3F64E4 #E43F64 #64E43F
tetradic
#3F64E4 #E43FB7 #E4BF3F #3FE46C
square
#3F64E4 #E43FB7 #E4BF3F #3FE46C
split-complementary
#3F64E4 #E46C3F #B7E43F
monochromatic
#153194 #1C43C9 #3F64E4 #758FEC #AABBF3

Accessibility & contrast

On white

5.05
#3F64E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#3F64E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F64E4
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F64E4#FFFFFF#000000##FFFFFF
##3F64E41.005.054.155.05
#FFFFFF5.051.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077E8
Deuteranopia (green-blind)
#0067E1
Tritanopia (blue-blind)
#00849A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #3f64e4;
/* rgb */ color: rgb(63, 100, 228);
/* oklch */ color: oklch(55.2% 0.199 267.3);
Tailwind
colors: {
  custom: {
    50: '#898fed',
    500: '#3f64e4',
    950: '#000000',
  },
}
SCSS
$custom: #3f64e4;
$custom-light: #898fed;
$custom-dark: #000000;
JSON
{
  "hex": "#3f64e4",
  "rgb": {
    "r": 63,
    "g": 100,
    "b": 228
  },
  "hsl": {
    "h": 226.545,
    "s": 75.342,
    "l": 57.059
  },
  "oklch": {
    "l": 0.55157,
    "c": 0.19873,
    "h": 267.3
  },
  "luminance": 0.15773
}

Semantic roles & 50–950 ramp

primary
#3F64E4
secondary
#E1D29E
accent
#C836F2
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #3F64E4

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

Preview Lab → · Contrast checker → · Palette generator →

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