#3D64D9#3D64D9

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

Color values

HEX#3D64D9
RGBrgb(61, 100, 217)
HSLhsl(225, 67%, 55%)
HSVhsv(225, 72%, 85%)
CMYKcmyk(71.9%, 53.9%, 0%, 14.9%)
CIE-LABlab(45.79, 26.02, -64.04)
CIE-LCHlch(45.79, 69.13, 292.12°)
OKLaboklab(54.22% -0.0118 -0.1844)
OKLCHoklch(54.22% 0.185 266.3)
XYZxyz(19.0016, 15.1142, 67.5481)
Luminance0.1512 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D64D9 #D9B23D
analogous
#3DB2D9 #3D64D9 #643DD9
triadic
#3D64D9 #D93D64 #64D93D
tetradic
#3D64D9 #D93DB2 #D9B23D #3DD964
square
#3D64D9 #D93DB2 #D9B23D #3DD964
split-complementary
#3D64D9 #D9643D #B2D93D
monochromatic
#193482 #2448B5 #3D64D9 #708DE3 #A3B6ED

Accessibility & contrast

On white

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

On black

4.02
#3D64D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3D64D9#FFFFFF#000000##FFFFFF
##3D64D91.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074DD
Deuteranopia (green-blind)
#0066D7
Tritanopia (blue-blind)
#008095
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #3d64d9;
/* rgb */ color: rgb(61, 100, 217);
/* oklch */ color: oklch(54.2% 0.185 266.3);
Tailwind
colors: {
  custom: {
    50: '#868fe6',
    500: '#3d64d9',
    950: '#000000',
  },
}
SCSS
$custom: #3d64d9;
$custom-light: #868fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#3d64d9",
  "rgb": {
    "r": 61,
    "g": 100,
    "b": 217
  },
  "hsl": {
    "h": 225,
    "s": 67.241,
    "l": 54.51
  },
  "oklch": {
    "l": 0.54219,
    "c": 0.18479,
    "h": 266.3
  },
  "luminance": 0.15116
}

Semantic roles & 50–950 ramp

primary
#3D64D9
secondary
#DAC998
accent
#BF3EEA
background
#F9F8FE
surface
#F1F0FC
border
#CBCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #3D64D9

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

Preview Lab → · Contrast checker → · Palette generator →

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