#3D64A5#3D64A5

#3D64A5 is a mid, moderate blue. Relative luminance 0.128; OKLCH L 50.6% C 0.113 H 260.1°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#3D64A5
RGBrgb(61, 100, 165)
HSLhsl(218, 46%, 44%)
HSVhsv(218, 63%, 65%)
CMYKcmyk(63%, 39.4%, 0%, 35.3%)
CIE-LABlab(42.49, 7.26, -39.17)
CIE-LCHlch(42.49, 39.84, 280.51°)
OKLaboklab(50.64% -0.0195 -0.1113)
OKLCHoklch(50.64% 0.113 260.1)
XYZxyz(13.2708, 12.8218, 37.3655)
Luminance0.1282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D64A5 #A57E3D
analogous
#3D98A5 #3D64A5 #4A3DA5
triadic
#3D64A5 #A53D64 #64A53D
tetradic
#3D64A5 #A53D98 #A57E3D #3DA54A
square
#3D64A5 #A53D98 #A57E3D #3DA54A
split-complementary
#3D64A5 #A54A3D #98A53D
monochromatic
#1C2E4C #2C4978 #3D64A5 #5C83C3 #89A5D3

Accessibility & contrast

On white

5.89
#3D64A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#3D64A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D64A5
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D64A5#FFFFFF#000000##FFFFFF
##3D64A51.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#486AA8
Deuteranopia (green-blind)
#3960A4
Tritanopia (blue-blind)
#00737C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3d64a5;
/* rgb */ color: rgb(61, 100, 165);
/* oklch */ color: oklch(50.6% 0.113 260.1);
Tailwind
colors: {
  custom: {
    50: '#7c8fc0',
    500: '#3d64a5',
    950: '#000000',
  },
}
SCSS
$custom: #3d64a5;
$custom-light: #7c8fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#3d64a5",
  "rgb": {
    "r": 61,
    "g": 100,
    "b": 165
  },
  "hsl": {
    "h": 217.5,
    "s": 46.018,
    "l": 44.314
  },
  "oklch": {
    "l": 0.50641,
    "c": 0.11301,
    "h": 260.1
  },
  "luminance": 0.12823
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3D64A5

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

Preview Lab → · Contrast checker → · Palette generator →

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