#3F64DB#3F64DB

#3F64DB is a mid, vivid blue. Relative luminance 0.153; OKLCH L 54.5% C 0.187 H 266.9°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#3F64DB
RGBrgb(63, 100, 219)
HSLhsl(226, 68%, 55%)
HSVhsv(226, 71%, 86%)
CMYKcmyk(71.2%, 54.3%, 0%, 14.1%)
CIE-LABlab(46.02, 27.01, -64.80)
CIE-LCHlch(46.02, 70.20, 292.62°)
OKLaboklab(54.46% -0.01 -0.1866)
OKLCHoklch(54.46% 0.187 266.9)
XYZxyz(19.3888, 15.2836, 68.9323)
Luminance0.1529 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F64DB #DBB63F
analogous
#3FB2DB #3F64DB #683FDB
triadic
#3F64DB #DB3F64 #64DB3F
tetradic
#3F64DB #DB3FB2 #DBB63F #3FDB68
square
#3F64DB #DB3FB2 #DBB63F #3FDB68
split-complementary
#3F64DB #DB683F #B2DB3F
monochromatic
#193386 #2347BA #3F64DB #738EE5 #A6B7EE

Accessibility & contrast

On white

5.18
#3F64DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#3F64DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F64DB
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F64DB#FFFFFF#000000##FFFFFF
##3F64DB1.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074DF
Deuteranopia (green-blind)
#0066D9
Tritanopia (blue-blind)
#008196
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #3f64db;
/* rgb */ color: rgb(63, 100, 219);
/* oklch */ color: oklch(54.5% 0.187 266.9);
Tailwind
colors: {
  custom: {
    50: '#878fe7',
    500: '#3f64db',
    950: '#000000',
  },
}
SCSS
$custom: #3f64db;
$custom-light: #878fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#3f64db",
  "rgb": {
    "r": 63,
    "g": 100,
    "b": 219
  },
  "hsl": {
    "h": 225.769,
    "s": 68.421,
    "l": 55.294
  },
  "oklch": {
    "l": 0.54462,
    "c": 0.18688,
    "h": 266.9
  },
  "luminance": 0.15286
}

Semantic roles & 50–950 ramp

primary
#3F64DB
secondary
#DCCC9A
accent
#C23DEB
background
#F9F8FE
surface
#F1F0FD
border
#CBCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #3F64DB

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

Preview Lab → · Contrast checker → · Palette generator →

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