#3D64A6#3D64A6

#3D64A6 is a mid, moderate blue. Relative luminance 0.129; OKLCH L 50.7% C 0.114 H 260.3°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#3D64A6
RGBrgb(61, 100, 166)
HSLhsl(218, 46%, 45%)
HSVhsv(218, 63%, 65%)
CMYKcmyk(63.3%, 39.8%, 0%, 34.9%)
CIE-LABlab(42.55, 7.62, -39.68)
CIE-LCHlch(42.55, 40.40, 280.87°)
OKLaboklab(50.7% -0.0192 -0.1128)
OKLCHoklch(50.7% 0.114 260.3)
XYZxyz(13.3621, 12.8584, 37.8467)
Luminance0.1286 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D64A6 #A67F3D
analogous
#3D99A6 #3D64A6 #4A3DA6
triadic
#3D64A6 #A63D64 #64A63D
tetradic
#3D64A6 #A63D99 #A67F3D #3DA64A
square
#3D64A6 #A63D99 #A67F3D #3DA64A
split-complementary
#3D64A6 #A64A3D #99A63D
monochromatic
#1C2E4C #2D4979 #3D64A6 #5D83C3 #8AA5D4

Accessibility & contrast

On white

5.88
#3D64A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#3D64A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D64A6
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D64A6#FFFFFF#000000##FFFFFF
##3D64A61.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#476AA9
Deuteranopia (green-blind)
#3860A5
Tritanopia (blue-blind)
#00737D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3d64a6;
/* rgb */ color: rgb(61, 100, 166);
/* oklch */ color: oklch(50.7% 0.114 260.3);
Tailwind
colors: {
  custom: {
    50: '#7c8fc1',
    500: '#3d64a6',
    950: '#000000',
  },
}
SCSS
$custom: #3d64a6;
$custom-light: #7c8fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#3d64a6",
  "rgb": {
    "r": 61,
    "g": 100,
    "b": 166
  },
  "hsl": {
    "h": 217.714,
    "s": 46.256,
    "l": 44.51
  },
  "oklch": {
    "l": 0.50702,
    "c": 0.11442,
    "h": 260.3
  },
  "luminance": 0.1286
}

Semantic roles & 50–950 ramp

primary
#3D64A6
secondary
#BEA780
accent
#A552D6
background
#F8F8FB
surface
#EFF0F7
border
#CACBD0
text
#0A0C12
muted
#7C7D81

Preview Lab

Preview with #3D64A6

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

Preview Lab → · Contrast checker → · Palette generator →

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