#3A64CF#3A64CF

#3A64CF is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.3% C 0.172 H 264.9°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#3A64CF
RGBrgb(58, 100, 207)
HSLhsl(223, 61%, 52%)
HSVhsv(223, 72%, 81%)
CMYKcmyk(72%, 51.7%, 0%, 18.8%)
CIE-LABlab(44.97, 21.99, -59.67)
CIE-LCHlch(44.97, 63.59, 290.23°)
OKLaboklab(53.34% -0.0152 -0.1716)
OKLCHoklch(53.34% 0.172 264.9)
XYZxyz(17.5606, 14.5170, 60.8960)
Luminance0.1452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A64CF #CFA53A
analogous
#3AAFCF #3A64CF #5B3ACF
triadic
#3A64CF #CF3A64 #64CF3A
tetradic
#3A64CF #CF3AAF #CFA53A #3ACF5B
square
#3A64CF #CF3AAF #CFA53A #3ACF5B
split-complementary
#3A64CF #CF5B3A #AFCF3A
monochromatic
#1C3473 #284BA4 #3A64CF #6B8BDB #9CB1E7

Accessibility & contrast

On white

5.38
#3A64CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#3A64CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A64CF
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A64CF#FFFFFF#000000##FFFFFF
##3A64CF1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E72D3
Deuteranopia (green-blind)
#0064CD
Tritanopia (blue-blind)
#007E90
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #3a64cf;
/* rgb */ color: rgb(58, 100, 207);
/* oklch */ color: oklch(53.3% 0.172 264.9);
Tailwind
colors: {
  custom: {
    50: '#838fde',
    500: '#3a64cf',
    950: '#000000',
  },
}
SCSS
$custom: #3a64cf;
$custom-light: #838fde;
$custom-dark: #000000;
JSON
{
  "hex": "#3a64cf",
  "rgb": {
    "r": 58,
    "g": 100,
    "b": 207
  },
  "hsl": {
    "h": 223.087,
    "s": 60.816,
    "l": 51.961
  },
  "oklch": {
    "l": 0.53339,
    "c": 0.17228,
    "h": 264.9
  },
  "luminance": 0.14519
}

Semantic roles & 50–950 ramp

primary
#3A64CF
secondary
#D3C192
accent
#B744E4
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #3A64CF

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

Preview Lab → · Contrast checker → · Palette generator →

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