#4640C4#4640C4

#4640C4 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 46.5% C 0.198 H 277.4°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#4640C4
RGBrgb(70, 64, 196)
HSLhsl(243, 53%, 51%)
HSVhsv(243, 67%, 77%)
CMYKcmyk(64.3%, 67.3%, 0%, 23.1%)
CIE-LABlab(35.89, 42.37, -68.04)
CIE-LCHlch(35.89, 80.15, 301.91°)
OKLaboklab(46.52% 0.0256 -0.1963)
OKLCHoklch(46.52% 0.198 277.4)
XYZxyz(14.3198, 8.9532, 53.1874)
Luminance0.0895 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4640C4 #BEC440
analogous
#407CC4 #4640C4 #8840C4
triadic
#4640C4 #C44640 #40C446
tetradic
#4640C4 #C4407C #BEC440 #40C488
square
#4640C4 #C4407C #BEC440 #40C488
split-complementary
#4640C4 #C48840 #7CC440
monochromatic
#242069 #342F98 #4640C4 #736FD2 #A19EE1

Accessibility & contrast

On white

7.52
#4640C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#4640C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4640C4
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4640C4#FFFFFF#000000##FFFFFF
##4640C41.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC8
Deuteranopia (green-blind)
#004FC1
Tritanopia (blue-blind)
#00637D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4640c4;
/* rgb */ color: rgb(70, 64, 196);
/* oklch */ color: oklch(46.5% 0.198 277.4);
Tailwind
colors: {
  custom: {
    50: '#8876d7',
    500: '#4640c4',
    950: '#000000',
  },
}
SCSS
$custom: #4640c4;
$custom-light: #8876d7;
$custom-dark: #000000;
JSON
{
  "hex": "#4640c4",
  "rgb": {
    "r": 70,
    "g": 64,
    "b": 196
  },
  "hsl": {
    "h": 242.727,
    "s": 52.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.46515,
    "c": 0.19794,
    "h": 277.4
  },
  "luminance": 0.08954
}

Semantic roles & 50–950 ramp

primary
#4640C4
secondary
#CACD93
accent
#DC4CD6
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #4640C4

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

Preview Lab → · Contrast checker → · Palette generator →

#4640C4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva