#4640D4#4640D4

#4640D4 is a mid, highly saturated blue. Relative luminance 0.097; OKLCH L 48.0% C 0.218 H 276.1°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#4640D4
RGBrgb(70, 64, 212)
HSLhsl(242, 63%, 54%)
HSVhsv(242, 70%, 83%)
CMYKcmyk(67%, 69.8%, 0%, 16.9%)
CIE-LABlab(37.34, 47.55, -74.96)
CIE-LCHlch(37.34, 88.76, 302.39°)
OKLaboklab(47.99% 0.0233 -0.2165)
OKLCHoklch(47.99% 0.218 276.1)
XYZxyz(16.2390, 9.7209, 63.2951)
Luminance0.0972 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4640D4 #CED440
analogous
#4084D4 #4640D4 #9040D4
triadic
#4640D4 #D44640 #40D446
tetradic
#4640D4 #D44084 #CED440 #40D490
square
#4640D4 #D44084 #CED440 #40D490
split-complementary
#4640D4 #D49040 #84D440
monochromatic
#201C7D #2D27AF #4640D4 #7672DF #A7A4EA

Accessibility & contrast

On white

7.13
#4640D4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#4640D4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4640D4
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4640D4#FFFFFF#000000##FFFFFF
##4640D41.007.132.947.13
#FFFFFF7.131.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED8
Deuteranopia (green-blind)
#0051D1
Tritanopia (blue-blind)
#006985
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4640d4;
/* rgb */ color: rgb(70, 64, 212);
/* oklch */ color: oklch(48.0% 0.218 276.1);
Tailwind
colors: {
  custom: {
    50: '#8b76e2',
    500: '#4640d4',
    950: '#000000',
  },
}
SCSS
$custom: #4640d4;
$custom-light: #8b76e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4640d4",
  "rgb": {
    "r": 70,
    "g": 64,
    "b": 212
  },
  "hsl": {
    "h": 242.432,
    "s": 63.248,
    "l": 54.118
  },
  "oklch": {
    "l": 0.47993,
    "c": 0.21777,
    "h": 276.1
  },
  "luminance": 0.09722
}

Semantic roles & 50–950 ramp

primary
#4640D4
secondary
#D5D798
accent
#E642E0
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4640D4

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

Preview Lab → · Contrast checker → · Palette generator →

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