#4640D5#4640D5

#4640D5 is a mid, highly saturated blue. Relative luminance 0.098; OKLCH L 48.1% C 0.219 H 276.1°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#4640D5
RGBrgb(70, 64, 213)
HSLhsl(242, 64%, 54%)
HSVhsv(242, 70%, 84%)
CMYKcmyk(67.1%, 70%, 0%, 16.5%)
CIE-LABlab(37.43, 47.87, -75.38)
CIE-LCHlch(37.43, 89.29, 302.41°)
OKLaboklab(48.09% 0.0232 -0.2178)
OKLCHoklch(48.09% 0.219 276.1)
XYZxyz(16.3655, 9.7715, 63.9615)
Luminance0.0977 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4640D5 #CFD540
analogous
#4085D5 #4640D5 #9140D5
triadic
#4640D5 #D54640 #40D546
tetradic
#4640D5 #D54085 #CFD540 #40D591
square
#4640D5 #D54085 #CFD540 #40D591
split-complementary
#4640D5 #D59140 #85D540
monochromatic
#201C7F #2C27B1 #4640D5 #7772E0 #A7A4EB

Accessibility & contrast

On white

7.11
#4640D5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#4640D5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4640D5
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4640D5#FFFFFF#000000##FFFFFF
##4640D51.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD9
Deuteranopia (green-blind)
#0051D2
Tritanopia (blue-blind)
#006986
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4640d5;
/* rgb */ color: rgb(70, 64, 213);
/* oklch */ color: oklch(48.1% 0.219 276.1);
Tailwind
colors: {
  custom: {
    50: '#8c76e3',
    500: '#4640d5',
    950: '#000000',
  },
}
SCSS
$custom: #4640d5;
$custom-light: #8c76e3;
$custom-dark: #000000;
JSON
{
  "hex": "#4640d5",
  "rgb": {
    "r": 70,
    "g": 64,
    "b": 213
  },
  "hsl": {
    "h": 242.416,
    "s": 63.948,
    "l": 54.314
  },
  "oklch": {
    "l": 0.48087,
    "c": 0.21899,
    "h": 276.1
  },
  "luminance": 0.09773
}

Semantic roles & 50–950 ramp

primary
#4640D5
secondary
#D5D899
accent
#E741E0
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4640D5

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

Preview Lab → · Contrast checker → · Palette generator →

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