#3964CA#3964CA

#3964CA is a mid, vivid blue. Relative luminance 0.142; OKLCH L 52.9% C 0.166 H 264.3°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#3964CA
RGBrgb(57, 100, 202)
HSLhsl(222, 58%, 51%)
HSVhsv(222, 72%, 79%)
CMYKcmyk(71.8%, 50.5%, 0%, 20.8%)
CIE-LABlab(44.58, 20.03, -57.41)
CIE-LCHlch(44.58, 60.81, 289.23°)
OKLaboklab(52.93% -0.0165 -0.165)
OKLCHoklch(52.93% 0.166 264.3)
XYZxyz(16.9014, 14.2467, 57.7248)
Luminance0.1425 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3964CA #CA9F39
analogous
#39ACCA #3964CA #5639CA
triadic
#3964CA #CA3964 #64CA39
tetradic
#3964CA #CA39AC #CA9F39 #39CA56
square
#3964CA #CA39AC #CA9F39 #39CA56
split-complementary
#3964CA #CA5639 #ACCA39
monochromatic
#1D346C #2A4C9C #3964CA #698AD7 #9AB0E4

Accessibility & contrast

On white

5.46
#3964CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#3964CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3964CA
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3964CA#FFFFFF#000000##FFFFFF
##3964CA1.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2670CE
Deuteranopia (green-blind)
#0063C8
Tritanopia (blue-blind)
#007C8D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #3964ca;
/* rgb */ color: rgb(57, 100, 202);
/* oklch */ color: oklch(52.9% 0.166 264.3);
Tailwind
colors: {
  custom: {
    50: '#828fdb',
    500: '#3964ca',
    950: '#000000',
  },
}
SCSS
$custom: #3964ca;
$custom-light: #828fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#3964ca",
  "rgb": {
    "r": 57,
    "g": 100,
    "b": 202
  },
  "hsl": {
    "h": 222.207,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.5293,
    "c": 0.16582,
    "h": 264.3
  },
  "luminance": 0.14248
}

Semantic roles & 50–950 ramp

primary
#3964CA
secondary
#D0BC8F
accent
#B347E1
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #3964CA

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

Preview Lab → · Contrast checker → · Palette generator →

#3964CA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva