#3C64D9#3C64D9

#3C64D9 is a mid, vivid blue. Relative luminance 0.151; OKLCH L 54.2% C 0.185 H 266.1°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#3C64D9
RGBrgb(60, 100, 217)
HSLhsl(225, 67%, 54%)
HSVhsv(225, 72%, 85%)
CMYKcmyk(72.4%, 53.9%, 0%, 14.9%)
CIE-LABlab(45.75, 25.90, -64.11)
CIE-LCHlch(45.75, 69.14, 292.00°)
OKLaboklab(54.18% -0.0127 -0.1846)
OKLCHoklch(54.18% 0.185 266.1)
XYZxyz(18.9406, 15.0827, 67.5452)
Luminance0.1509 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C64D9 #D9B13C
analogous
#3CB3D9 #3C64D9 #623CD9
triadic
#3C64D9 #D93C64 #64D93C
tetradic
#3C64D9 #D93CB3 #D9B13C #3CD962
square
#3C64D9 #D93CB3 #D9B13C #3CD962
split-complementary
#3C64D9 #D9623C #B3D93C
monochromatic
#193481 #2348B5 #3C64D9 #6F8DE3 #A2B5ED

Accessibility & contrast

On white

5.23
#3C64D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#3C64D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3C64D9
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C64D9#FFFFFF#000000##FFFFFF
##3C64D91.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074DD
Deuteranopia (green-blind)
#0065D7
Tritanopia (blue-blind)
#008095
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #3c64d9;
/* rgb */ color: rgb(60, 100, 217);
/* oklch */ color: oklch(54.2% 0.185 266.1);
Tailwind
colors: {
  custom: {
    50: '#868fe6',
    500: '#3c64d9',
    950: '#000000',
  },
}
SCSS
$custom: #3c64d9;
$custom-light: #868fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#3c64d9",
  "rgb": {
    "r": 60,
    "g": 100,
    "b": 217
  },
  "hsl": {
    "h": 224.713,
    "s": 67.382,
    "l": 54.314
  },
  "oklch": {
    "l": 0.54175,
    "c": 0.18507,
    "h": 266.1
  },
  "luminance": 0.15085
}

Semantic roles & 50–950 ramp

primary
#3C64D9
secondary
#DAC997
accent
#BE3EEA
background
#F9F8FE
surface
#F1F0FC
border
#CBCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #3C64D9

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

Preview Lab → · Contrast checker → · Palette generator →

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