#3D64B5#3D64B5

#3D64B5 is a mid, vivid blue. Relative luminance 0.134; OKLCH L 51.7% C 0.136 H 263.1°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#3D64B5
RGBrgb(61, 100, 181)
HSLhsl(221, 50%, 47%)
HSVhsv(221, 66%, 71%)
CMYKcmyk(66.3%, 44.8%, 0%, 29%)
CIE-LABlab(43.42, 12.99, -47.10)
CIE-LCHlch(43.42, 48.86, 285.42°)
OKLaboklab(51.66% -0.0162 -0.1346)
OKLCHoklch(51.66% 0.136 263.1)
XYZxyz(14.8192, 13.4412, 45.5205)
Luminance0.1344 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D64B5 #B58E3D
analogous
#3DA0B5 #3D64B5 #523DB5
triadic
#3D64B5 #B53D64 #64B53D
tetradic
#3D64B5 #B53DA0 #B58E3D #3DB552
square
#3D64B5 #B53DA0 #B58E3D #3DB552
split-complementary
#3D64B5 #B5523D #A0B53D
monochromatic
#1E3159 #2E4B87 #3D64B5 #6486CB #92AADA

Accessibility & contrast

On white

5.69
#3D64B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#3D64B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D64B5
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D64B5#FFFFFF#000000##FFFFFF
##3D64B51.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D6CB8
Deuteranopia (green-blind)
#2861B3
Tritanopia (blue-blind)
#007783
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #3d64b5;
/* rgb */ color: rgb(61, 100, 181);
/* oklch */ color: oklch(51.7% 0.136 263.1);
Tailwind
colors: {
  custom: {
    50: '#7f8fcc',
    500: '#3d64b5',
    950: '#000000',
  },
}
SCSS
$custom: #3d64b5;
$custom-light: #7f8fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#3d64b5",
  "rgb": {
    "r": 61,
    "g": 100,
    "b": 181
  },
  "hsl": {
    "h": 220.5,
    "s": 49.587,
    "l": 47.451
  },
  "oklch": {
    "l": 0.51657,
    "c": 0.13554,
    "h": 263.1
  },
  "luminance": 0.13443
}

Semantic roles & 50–950 ramp

primary
#3D64B5
secondary
#C5B288
accent
#AC4FD9
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C13
muted
#7C7D82

Preview Lab

Preview with #3D64B5

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

Preview Lab → · Contrast checker → · Palette generator →

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