#4640D2#4640D2

#4640D2 is a mid, highly saturated blue. Relative luminance 0.096; OKLCH L 47.8% C 0.215 H 276.3°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#4640D2
RGBrgb(70, 64, 210)
HSLhsl(242, 62%, 54%)
HSVhsv(242, 70%, 82%)
CMYKcmyk(66.7%, 69.5%, 0%, 17.6%)
CIE-LABlab(37.15, 46.90, -74.11)
CIE-LCHlch(37.15, 87.70, 302.33°)
OKLaboklab(47.81% 0.0236 -0.214)
OKLCHoklch(47.81% 0.215 276.3)
XYZxyz(15.9882, 9.6206, 61.9747)
Luminance0.0962 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4640D2 #CCD240
analogous
#4083D2 #4640D2 #8F40D2
triadic
#4640D2 #D24640 #40D246
tetradic
#4640D2 #D24083 #CCD240 #40D28F
square
#4640D2 #D24083 #CCD240 #40D28F
split-complementary
#4640D2 #D28F40 #83D240
monochromatic
#211D7B #2E29AC #4640D2 #7672DE #A6A3E9

Accessibility & contrast

On white

7.18
#4640D2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#4640D2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4640D2
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4640D2#FFFFFF#000000##FFFFFF
##4640D21.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED6
Deuteranopia (green-blind)
#0051CF
Tritanopia (blue-blind)
#006884
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4640d2;
/* rgb */ color: rgb(70, 64, 210);
/* oklch */ color: oklch(47.8% 0.215 276.3);
Tailwind
colors: {
  custom: {
    50: '#8b76e1',
    500: '#4640d2',
    950: '#000000',
  },
}
SCSS
$custom: #4640d2;
$custom-light: #8b76e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4640d2",
  "rgb": {
    "r": 70,
    "g": 64,
    "b": 210
  },
  "hsl": {
    "h": 242.466,
    "s": 61.864,
    "l": 53.725
  },
  "oklch": {
    "l": 0.47805,
    "c": 0.21533,
    "h": 276.3
  },
  "luminance": 0.09622
}

Semantic roles & 50–950 ramp

primary
#4640D2
secondary
#D4D698
accent
#E543DE
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0D0815
muted
#7E7B84

Preview Lab

Preview with #4640D2

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

Preview Lab → · Contrast checker → · Palette generator →

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