#3D64B8#3D64B8

#3D64B8 is a mid, vivid blue. Relative luminance 0.136; OKLCH L 51.9% C 0.140 H 263.5°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#3D64B8
RGBrgb(61, 100, 184)
HSLhsl(221, 50%, 48%)
HSVhsv(221, 67%, 72%)
CMYKcmyk(66.8%, 45.7%, 0%, 27.8%)
CIE-LABlab(43.60, 14.07, -48.56)
CIE-LCHlch(43.60, 50.55, 286.16°)
OKLaboklab(51.86% -0.0157 -0.1389)
OKLCHoklch(51.86% 0.14 263.5)
XYZxyz(15.1303, 13.5657, 47.1592)
Luminance0.1357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D64B8 #B8913D
analogous
#3DA1B8 #3D64B8 #543DB8
triadic
#3D64B8 #B83D64 #64B83D
tetradic
#3D64B8 #B83DA1 #B8913D #3DB854
square
#3D64B8 #B83DA1 #B8913D #3DB854
split-complementary
#3D64B8 #B8543D #A1B83D
monochromatic
#1F325C #2E4B8A #3D64B8 #6686CC #94ABDB

Accessibility & contrast

On white

5.66
#3D64B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#3D64B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D64B8
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D64B8#FFFFFF#000000##FFFFFF
##3D64B81.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B6DBB
Deuteranopia (green-blind)
#2462B6
Tritanopia (blue-blind)
#007785
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #3d64b8;
/* rgb */ color: rgb(61, 100, 184);
/* oklch */ color: oklch(51.9% 0.140 263.5);
Tailwind
colors: {
  custom: {
    50: '#808fce',
    500: '#3d64b8',
    950: '#000000',
  },
}
SCSS
$custom: #3d64b8;
$custom-light: #808fce;
$custom-dark: #000000;
JSON
{
  "hex": "#3d64b8",
  "rgb": {
    "r": 61,
    "g": 100,
    "b": 184
  },
  "hsl": {
    "h": 220.976,
    "s": 50.204,
    "l": 48.039
  },
  "oklch": {
    "l": 0.51857,
    "c": 0.13974,
    "h": 263.5
  },
  "luminance": 0.13567
}

Semantic roles & 50–950 ramp

primary
#3D64B8
secondary
#C7B48A
accent
#AD4EDA
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C13
muted
#7C7D82

Preview Lab

Preview with #3D64B8

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

Preview Lab → · Contrast checker → · Palette generator →

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