#3A64B2#3A64B2

#3A64B2 is a mid, vivid blue. Relative luminance 0.132; OKLCH L 51.3% C 0.132 H 261.6°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#3A64B2
RGBrgb(58, 100, 178)
HSLhsl(219, 51%, 46%)
HSVhsv(219, 67%, 70%)
CMYKcmyk(67.4%, 43.8%, 0%, 30.2%)
CIE-LABlab(43.10, 11.39, -45.86)
CIE-LCHlch(43.10, 47.25, 283.95°)
OKLaboklab(51.32% -0.0193 -0.131)
OKLCHoklch(51.32% 0.132 261.6)
XYZxyz(14.3351, 13.2268, 43.9084)
Luminance0.1323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A64B2 #B2883A
analogous
#3AA0B2 #3A64B2 #4C3AB2
triadic
#3A64B2 #B23A64 #64B23A
tetradic
#3A64B2 #B23AA0 #B2883A #3AB24C
square
#3A64B2 #B23AA0 #B2883A #3AB24C
split-complementary
#3A64B2 #B24C3A #A0B23A
monochromatic
#1C3056 #2B4A84 #3A64B2 #5F84CB #8DA8DA

Accessibility & contrast

On white

5.76
#3A64B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#3A64B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A64B2
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A64B2#FFFFFF#000000##FFFFFF
##3A64B21.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F6CB5
Deuteranopia (green-blind)
#2B61B0
Tritanopia (blue-blind)
#007682
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #3a64b2;
/* rgb */ color: rgb(58, 100, 178);
/* oklch */ color: oklch(51.3% 0.132 261.6);
Tailwind
colors: {
  custom: {
    50: '#7d8fc9',
    500: '#3a64b2',
    950: '#000000',
  },
}
SCSS
$custom: #3a64b2;
$custom-light: #7d8fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#3a64b2",
  "rgb": {
    "r": 58,
    "g": 100,
    "b": 178
  },
  "hsl": {
    "h": 219,
    "s": 50.847,
    "l": 46.275
  },
  "oklch": {
    "l": 0.51317,
    "c": 0.13241,
    "h": 261.6
  },
  "luminance": 0.13228
}

Semantic roles & 50–950 ramp

primary
#3A64B2
secondary
#C4AE83
accent
#A94DDA
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0C13
muted
#7C7D82

Preview Lab

Preview with #3A64B2

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

Preview Lab → · Contrast checker → · Palette generator →

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