#3D64CF#3D64CF

#3D64CF is a mid, vivid blue. Relative luminance 0.146; OKLCH L 53.5% C 0.171 H 265.8°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#3D64CF
RGBrgb(61, 100, 207)
HSLhsl(224, 60%, 53%)
HSVhsv(224, 71%, 81%)
CMYKcmyk(70.5%, 51.7%, 0%, 18.8%)
CIE-LABlab(45.09, 22.40, -59.45)
CIE-LCHlch(45.09, 63.53, 290.65°)
OKLaboklab(53.47% -0.0127 -0.1709)
OKLCHoklch(53.47% 0.171 265.8)
XYZxyz(17.7402, 14.6096, 60.9044)
Luminance0.1461 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D64CF #CFA83D
analogous
#3DADCF #3D64CF #5F3DCF
triadic
#3D64CF #CF3D64 #64CF3D
tetradic
#3D64CF #CF3DAD #CFA83D #3DCF5F
square
#3D64CF #CF3DAD #CFA83D #3DCF5F
split-complementary
#3D64CF #CF5F3D #ADCF3D
monochromatic
#1D3475 #294AA6 #3D64CF #6E8BDB #9FB2E7

Accessibility & contrast

On white

5.35
#3D64CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#3D64CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D64CF
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D64CF#FFFFFF#000000##FFFFFF
##3D64CF1.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F72D3
Deuteranopia (green-blind)
#0064CD
Tritanopia (blue-blind)
#007E90
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #3d64cf;
/* rgb */ color: rgb(61, 100, 207);
/* oklch */ color: oklch(53.5% 0.171 265.8);
Tailwind
colors: {
  custom: {
    50: '#848fde',
    500: '#3d64cf',
    950: '#000000',
  },
}
SCSS
$custom: #3d64cf;
$custom-light: #848fde;
$custom-dark: #000000;
JSON
{
  "hex": "#3d64cf",
  "rgb": {
    "r": 61,
    "g": 100,
    "b": 207
  },
  "hsl": {
    "h": 223.973,
    "s": 60.331,
    "l": 52.549
  },
  "oklch": {
    "l": 0.53472,
    "c": 0.17139,
    "h": 265.8
  },
  "luminance": 0.14611
}

Semantic roles & 50–950 ramp

primary
#3D64CF
secondary
#D4C394
accent
#B944E3
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #3D64CF

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

Preview Lab → · Contrast checker → · Palette generator →

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