#4640E2#4640E2

#4640E2 is a mid, highly saturated blue. Relative luminance 0.105; OKLCH L 49.3% C 0.235 H 275.1°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#4640E2
RGBrgb(70, 64, 226)
HSLhsl(242, 74%, 57%)
HSVhsv(242, 72%, 89%)
CMYKcmyk(69%, 71.7%, 0%, 11.4%)
CIE-LABlab(38.65, 52.00, -80.82)
CIE-LCHlch(38.65, 96.10, 302.76°)
OKLaboklab(49.33% 0.021 -0.2336)
OKLCHoklch(49.33% 0.235 275.1)
XYZxyz(18.0821, 10.4582, 73.0025)
Luminance0.1046 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4640E2 #DCE240
analogous
#408BE2 #4640E2 #9740E2
triadic
#4640E2 #E24640 #40E246
tetradic
#4640E2 #E2408B #DCE240 #40E297
square
#4640E2 #E2408B #DCE240 #40E297
split-complementary
#4640E2 #E29740 #8BE240
monochromatic
#1B1692 #241EC7 #4640E2 #7975EA #ADAAF2

Accessibility & contrast

On white

6.79
#4640E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#4640E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4640E2
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4640E2#FFFFFF#000000##FFFFFF
##4640E21.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062E7
Deuteranopia (green-blind)
#0054DF
Tritanopia (blue-blind)
#006E8D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4640e2;
/* rgb */ color: rgb(70, 64, 226);
/* oklch */ color: oklch(49.3% 0.235 275.1);
Tailwind
colors: {
  custom: {
    50: '#8e77ec',
    500: '#4640e2',
    950: '#000000',
  },
}
SCSS
$custom: #4640e2;
$custom-light: #8e77ec;
$custom-dark: #000000;
JSON
{
  "hex": "#4640e2",
  "rgb": {
    "r": 70,
    "g": 64,
    "b": 226
  },
  "hsl": {
    "h": 242.222,
    "s": 73.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.4933,
    "c": 0.23458,
    "h": 275.1
  },
  "luminance": 0.1046
}

Semantic roles & 50–950 ramp

primary
#4640E2
secondary
#DDE09E
accent
#F038E9
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4640E2

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

Preview Lab → · Contrast checker → · Palette generator →

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