#3D64C8#3D64C8

#3D64C8 is a mid, vivid blue. Relative luminance 0.143; OKLCH L 53.0% C 0.162 H 265.2°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#3D64C8
RGBrgb(61, 100, 200)
HSLhsl(223, 56%, 51%)
HSVhsv(223, 70%, 78%)
CMYKcmyk(69.5%, 50%, 0%, 21.6%)
CIE-LABlab(44.62, 19.86, -56.19)
CIE-LCHlch(44.62, 59.60, 289.47°)
OKLaboklab(52.97% -0.0134 -0.1613)
OKLCHoklch(52.97% 0.162 265.2)
XYZxyz(16.9033, 14.2749, 56.4969)
Luminance0.1428 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D64C8 #C8A13D
analogous
#3DAAC8 #3D64C8 #5B3DC8
triadic
#3D64C8 #C83D64 #64C83D
tetradic
#3D64C8 #C83DAA #C8A13D #3DC85B
square
#3D64C8 #C83DAA #C8A13D #3DC85B
split-complementary
#3D64C8 #C85B3D #AAC83D
monochromatic
#1F346C #2C4B9C #3D64C8 #6D8AD6 #9CB0E3

Accessibility & contrast

On white

5.45
#3D64C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#3D64C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D64C8
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D64C8#FFFFFF#000000##FFFFFF
##3D64C81.005.453.865.45
#FFFFFF5.451.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A70CC
Deuteranopia (green-blind)
#0064C6
Tritanopia (blue-blind)
#007C8C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #3d64c8;
/* rgb */ color: rgb(61, 100, 200);
/* oklch */ color: oklch(53.0% 0.162 265.2);
Tailwind
colors: {
  custom: {
    50: '#838fd9',
    500: '#3d64c8',
    950: '#000000',
  },
}
SCSS
$custom: #3d64c8;
$custom-light: #838fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#3d64c8",
  "rgb": {
    "r": 61,
    "g": 100,
    "b": 200
  },
  "hsl": {
    "h": 223.165,
    "s": 55.823,
    "l": 51.176
  },
  "oklch": {
    "l": 0.52965,
    "c": 0.16187,
    "h": 265.2
  },
  "luminance": 0.14277
}

Semantic roles & 50–950 ramp

primary
#3D64C8
secondary
#CFBE92
accent
#B549DF
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #3D64C8

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

Preview Lab → · Contrast checker → · Palette generator →

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