#3D64A7#3D64A7

#3D64A7 is a mid, moderate blue. Relative luminance 0.129; OKLCH L 50.8% C 0.116 H 260.5°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#3D64A7
RGBrgb(61, 100, 167)
HSLhsl(218, 46%, 45%)
HSVhsv(218, 63%, 65%)
CMYKcmyk(63.5%, 40.1%, 0%, 34.5%)
CIE-LABlab(42.60, 7.97, -40.18)
CIE-LCHlch(42.60, 40.96, 281.23°)
OKLaboklab(50.76% -0.019 -0.1143)
OKLCHoklch(50.76% 0.116 260.5)
XYZxyz(13.4542, 12.8952, 38.3317)
Luminance0.1290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D64A7 #A7803D
analogous
#3D99A7 #3D64A7 #4B3DA7
triadic
#3D64A7 #A73D64 #64A73D
tetradic
#3D64A7 #A73D99 #A7803D #3DA74B
square
#3D64A7 #A73D99 #A7803D #3DA74B
split-complementary
#3D64A7 #A74B3D #99A73D
monochromatic
#1C2E4D #2D497A #3D64A7 #5D83C4 #8AA5D4

Accessibility & contrast

On white

5.87
#3D64A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#3D64A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D64A7
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D64A7#FFFFFF#000000##FFFFFF
##3D64A71.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#466AAA
Deuteranopia (green-blind)
#3760A6
Tritanopia (blue-blind)
#00737D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3d64a7;
/* rgb */ color: rgb(61, 100, 167);
/* oklch */ color: oklch(50.8% 0.116 260.5);
Tailwind
colors: {
  custom: {
    50: '#7d8fc1',
    500: '#3d64a7',
    950: '#000000',
  },
}
SCSS
$custom: #3d64a7;
$custom-light: #7d8fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#3d64a7",
  "rgb": {
    "r": 61,
    "g": 100,
    "b": 167
  },
  "hsl": {
    "h": 217.925,
    "s": 46.491,
    "l": 44.706
  },
  "oklch": {
    "l": 0.50763,
    "c": 0.11583,
    "h": 260.5
  },
  "luminance": 0.12896
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3D64A7

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

Preview Lab → · Contrast checker → · Palette generator →

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