#3B64C5#3B64C5

#3B64C5 is a mid, vivid blue. Relative luminance 0.141; OKLCH L 52.7% C 0.158 H 264.4°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#3B64C5
RGBrgb(59, 100, 197)
HSLhsl(222, 54%, 50%)
HSVhsv(222, 70%, 77%)
CMYKcmyk(70.1%, 49.2%, 0%, 22.7%)
CIE-LABlab(44.34, 18.48, -54.92)
CIE-LCHlch(44.34, 57.95, 288.60°)
OKLaboklab(52.66% -0.0155 -0.1576)
OKLCHoklch(52.66% 0.158 264.4)
XYZxyz(16.4353, 14.0737, 54.6628)
Luminance0.1407 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B64C5 #C59C3B
analogous
#3BA9C5 #3B64C5 #573BC5
triadic
#3B64C5 #C53B64 #64C53B
tetradic
#3B64C5 #C53BA9 #C59C3B #3BC557
square
#3B64C5 #C53BA9 #C59C3B #3BC557
split-complementary
#3B64C5 #C5573B #A9C53B
monochromatic
#1F3467 #2C4C96 #3B64C5 #6A89D3 #99AFE1

Accessibility & contrast

On white

5.50
#3B64C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#3B64C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B64C5
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B64C5#FFFFFF#000000##FFFFFF
##3B64C51.005.503.815.50
#FFFFFF5.501.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D70C9
Deuteranopia (green-blind)
#0063C3
Tritanopia (blue-blind)
#007B8B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #3b64c5;
/* rgb */ color: rgb(59, 100, 197);
/* oklch */ color: oklch(52.7% 0.158 264.4);
Tailwind
colors: {
  custom: {
    50: '#818fd7',
    500: '#3b64c5',
    950: '#000000',
  },
}
SCSS
$custom: #3b64c5;
$custom-light: #818fd7;
$custom-dark: #000000;
JSON
{
  "hex": "#3b64c5",
  "rgb": {
    "r": 59,
    "g": 100,
    "b": 197
  },
  "hsl": {
    "h": 222.174,
    "s": 54.331,
    "l": 50.196
  },
  "oklch": {
    "l": 0.5266,
    "c": 0.15839,
    "h": 264.4
  },
  "luminance": 0.14075
}

Semantic roles & 50–950 ramp

primary
#3B64C5
secondary
#CDBA8F
accent
#B24ADE
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83

Preview Lab

Preview with #3B64C5

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

Preview Lab → · Contrast checker → · Palette generator →

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