#3D64C2#3D64C2

#3D64C2 is a mid, vivid blue. Relative luminance 0.140; OKLCH L 52.5% C 0.154 H 264.7°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#3D64C2
RGBrgb(61, 100, 194)
HSLhsl(222, 52%, 50%)
HSVhsv(222, 69%, 76%)
CMYKcmyk(68.6%, 48.5%, 0%, 23.9%)
CIE-LABlab(44.23, 17.69, -53.35)
CIE-LCHlch(44.23, 56.21, 288.34°)
OKLaboklab(52.54% -0.0142 -0.153)
OKLCHoklch(52.54% 0.154 264.7)
XYZxyz(16.2158, 13.9999, 52.8761)
Luminance0.1400 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D64C2 #C29B3D
analogous
#3DA7C2 #3D64C2 #583DC2
triadic
#3D64C2 #C23D64 #64C23D
tetradic
#3D64C2 #C23DA7 #C29B3D #3DC258
square
#3D64C2 #C23DA7 #C29B3D #3DC258
split-complementary
#3D64C2 #C2583D #A7C23D
monochromatic
#203465 #2E4C93 #3D64C2 #6C89D1 #9AAEDF

Accessibility & contrast

On white

5.53
#3D64C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#3D64C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D64C2
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D64C2#FFFFFF#000000##FFFFFF
##3D64C21.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#316FC5
Deuteranopia (green-blind)
#0C63C0
Tritanopia (blue-blind)
#007A8A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #3d64c2;
/* rgb */ color: rgb(61, 100, 194);
/* oklch */ color: oklch(52.5% 0.154 264.7);
Tailwind
colors: {
  custom: {
    50: '#828fd5',
    500: '#3d64c2',
    950: '#000000',
  },
}
SCSS
$custom: #3d64c2;
$custom-light: #828fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#3d64c2",
  "rgb": {
    "r": 61,
    "g": 100,
    "b": 194
  },
  "hsl": {
    "h": 222.406,
    "s": 52.157,
    "l": 50
  },
  "oklch": {
    "l": 0.52541,
    "c": 0.15363,
    "h": 264.7
  },
  "luminance": 0.14001
}

Semantic roles & 50–950 ramp

primary
#3D64C2
secondary
#CBBA90
accent
#B24CDC
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83

Preview Lab

Preview with #3D64C2

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

Preview Lab → · Contrast checker → · Palette generator →

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