#3D64B2#3D64B2

#3D64B2 is a mid, vivid blue. Relative luminance 0.133; OKLCH L 51.5% C 0.131 H 262.7°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#3D64B2
RGBrgb(61, 100, 178)
HSLhsl(220, 49%, 47%)
HSVhsv(220, 66%, 70%)
CMYKcmyk(65.7%, 43.8%, 0%, 30.2%)
CIE-LABlab(43.24, 11.91, -45.63)
CIE-LCHlch(43.24, 47.16, 284.63°)
OKLaboklab(51.46% -0.0168 -0.1303)
OKLCHoklch(51.46% 0.131 262.7)
XYZxyz(14.5147, 13.3194, 43.9168)
Luminance0.1332 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D64B2 #B28B3D
analogous
#3D9FB2 #3D64B2 #513DB2
triadic
#3D64B2 #B23D64 #64B23D
tetradic
#3D64B2 #B23D9F #B28B3D #3DB251
square
#3D64B2 #B23D9F #B28B3D #3DB251
split-complementary
#3D64B2 #B2513D #9FB23D
monochromatic
#1E3157 #2D4A84 #3D64B2 #6385C9 #90A9D9

Accessibility & contrast

On white

5.73
#3D64B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#3D64B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D64B2
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D64B2#FFFFFF#000000##FFFFFF
##3D64B21.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F6CB5
Deuteranopia (green-blind)
#2C61B0
Tritanopia (blue-blind)
#007682
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #3d64b2;
/* rgb */ color: rgb(61, 100, 178);
/* oklch */ color: oklch(51.5% 0.131 262.7);
Tailwind
colors: {
  custom: {
    50: '#7f8fc9',
    500: '#3d64b2',
    950: '#000000',
  },
}
SCSS
$custom: #3d64b2;
$custom-light: #7f8fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#3d64b2",
  "rgb": {
    "r": 61,
    "g": 100,
    "b": 178
  },
  "hsl": {
    "h": 220,
    "s": 48.954,
    "l": 46.863
  },
  "oklch": {
    "l": 0.5146,
    "c": 0.13133,
    "h": 262.7
  },
  "luminance": 0.13321
}

Semantic roles & 50–950 ramp

primary
#3D64B2
secondary
#C4B087
accent
#AB4FD9
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0C13
muted
#7C7D82

Preview Lab

Preview with #3D64B2

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

Preview Lab → · Contrast checker → · Palette generator →

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