#3D64AB#3D64AB

#3D64AB is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.0% C 0.121 H 261.4°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#3D64AB
RGBrgb(61, 100, 171)
HSLhsl(219, 47%, 45%)
HSVhsv(219, 64%, 67%)
CMYKcmyk(64.3%, 41.5%, 0%, 32.9%)
CIE-LABlab(42.83, 9.40, -42.17)
CIE-LCHlch(42.83, 43.21, 282.56°)
OKLaboklab(51.01% -0.0181 -0.1201)
OKLCHoklch(51.01% 0.121 261.4)
XYZxyz(13.8297, 13.0454, 40.3094)
Luminance0.1305 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D64AB #AB843D
analogous
#3D9BAB #3D64AB #4D3DAB
triadic
#3D64AB #AB3D64 #64AB3D
tetradic
#3D64AB #AB3D9B #AB843D #3DAB4D
square
#3D64AB #AB3D9B #AB843D #3DAB4D
split-complementary
#3D64AB #AB4D3D #9BAB3D
monochromatic
#1D2F51 #2D4A7E #3D64AB #5F84C6 #8CA6D6

Accessibility & contrast

On white

5.82
#3D64AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#3D64AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D64AB
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D64AB#FFFFFF#000000##FFFFFF
##3D64AB1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#446BAE
Deuteranopia (green-blind)
#3460AA
Tritanopia (blue-blind)
#00747F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3d64ab;
/* rgb */ color: rgb(61, 100, 171);
/* oklch */ color: oklch(51.0% 0.121 261.4);
Tailwind
colors: {
  custom: {
    50: '#7d8fc4',
    500: '#3d64ab',
    950: '#000000',
  },
}
SCSS
$custom: #3d64ab;
$custom-light: #7d8fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#3d64ab",
  "rgb": {
    "r": 61,
    "g": 100,
    "b": 171
  },
  "hsl": {
    "h": 218.727,
    "s": 47.414,
    "l": 45.49
  },
  "oklch": {
    "l": 0.51012,
    "c": 0.12148,
    "h": 261.4
  },
  "luminance": 0.13047
}

Semantic roles & 50–950 ramp

primary
#3D64AB
secondary
#C1AB83
accent
#A751D7
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0C13
muted
#7C7D82

Preview Lab

Preview with #3D64AB

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

Preview Lab → · Contrast checker → · Palette generator →

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