#3F64D1#3F64D1

#3F64D1 is a mid, vivid blue. Relative luminance 0.148; OKLCH L 53.7% C 0.173 H 266.4°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#3F64D1
RGBrgb(63, 100, 209)
HSLhsl(225, 61%, 53%)
HSVhsv(225, 70%, 82%)
CMYKcmyk(69.9%, 52.2%, 0%, 18%)
CIE-LABlab(45.32, 23.41, -60.23)
CIE-LCHlch(45.32, 64.62, 291.24°)
OKLaboklab(53.71% -0.0108 -0.1732)
OKLCHoklch(53.71% 0.174 266.4)
XYZxyz(18.1117, 14.7727, 62.2061)
Luminance0.1477 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F64D1 #D1AC3F
analogous
#3FADD1 #3F64D1 #633FD1
triadic
#3F64D1 #D13F64 #64D13F
tetradic
#3F64D1 #D13FAD #D1AC3F #3FD163
square
#3F64D1 #D13FAD #D1AC3F #3FD163
split-complementary
#3F64D1 #D1633F #ADD13F
monochromatic
#1D3479 #294AAA #3F64D1 #708CDD #A2B4E9

Accessibility & contrast

On white

5.31
#3F64D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#3F64D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F64D1
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F64D1#FFFFFF#000000##FFFFFF
##3F64D11.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B72D5
Deuteranopia (green-blind)
#0065CF
Tritanopia (blue-blind)
#007E91
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #3f64d1;
/* rgb */ color: rgb(63, 100, 209);
/* oklch */ color: oklch(53.7% 0.173 266.4);
Tailwind
colors: {
  custom: {
    50: '#858fe0',
    500: '#3f64d1',
    950: '#000000',
  },
}
SCSS
$custom: #3f64d1;
$custom-light: #858fe0;
$custom-dark: #000000;
JSON
{
  "hex": "#3f64d1",
  "rgb": {
    "r": 63,
    "g": 100,
    "b": 209
  },
  "hsl": {
    "h": 224.795,
    "s": 61.345,
    "l": 53.333
  },
  "oklch": {
    "l": 0.53712,
    "c": 0.1735,
    "h": 266.4
  },
  "luminance": 0.14775
}

Semantic roles & 50–950 ramp

primary
#3F64D1
secondary
#D5C597
accent
#BC43E4
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #3F64D1

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

Preview Lab → · Contrast checker → · Palette generator →

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