#3D64C5#3D64C5

#3D64C5 is a mid, vivid blue. Relative luminance 0.141; OKLCH L 52.8% C 0.158 H 265.0°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#3D64C5
RGBrgb(61, 100, 197)
HSLhsl(223, 54%, 51%)
HSVhsv(223, 69%, 77%)
CMYKcmyk(69%, 49.2%, 0%, 22.7%)
CIE-LABlab(44.43, 18.78, -54.78)
CIE-LCHlch(44.43, 57.90, 288.92°)
OKLaboklab(52.75% -0.0138 -0.1572)
OKLCHoklch(52.75% 0.158 265)
XYZxyz(16.5562, 14.1360, 54.6685)
Luminance0.1414 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D64C5 #C59E3D
analogous
#3DA8C5 #3D64C5 #5A3DC5
triadic
#3D64C5 #C53D64 #64C53D
tetradic
#3D64C5 #C53DA8 #C59E3D #3DC55A
square
#3D64C5 #C53DA8 #C59E3D #3DC55A
split-complementary
#3D64C5 #C55A3D #A8C53D
monochromatic
#1F3468 #2D4C98 #3D64C5 #6C8AD3 #9BAFE1

Accessibility & contrast

On white

5.49
#3D64C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#3D64C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D64C5
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D64C5#FFFFFF#000000##FFFFFF
##3D64C51.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E70C9
Deuteranopia (green-blind)
#0063C3
Tritanopia (blue-blind)
#007B8B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #3d64c5;
/* rgb */ color: rgb(61, 100, 197);
/* oklch */ color: oklch(52.8% 0.158 265.0);
Tailwind
colors: {
  custom: {
    50: '#828fd7',
    500: '#3d64c5',
    950: '#000000',
  },
}
SCSS
$custom: #3d64c5;
$custom-light: #828fd7;
$custom-dark: #000000;
JSON
{
  "hex": "#3d64c5",
  "rgb": {
    "r": 61,
    "g": 100,
    "b": 197
  },
  "hsl": {
    "h": 222.794,
    "s": 53.968,
    "l": 50.588
  },
  "oklch": {
    "l": 0.52752,
    "c": 0.15775,
    "h": 265
  },
  "luminance": 0.14138
}

Semantic roles & 50–950 ramp

primary
#3D64C5
secondary
#CDBC91
accent
#B34ADD
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83

Preview Lab

Preview with #3D64C5

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

Preview Lab → · Contrast checker → · Palette generator →

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