#4640DE#4640DE

#4640DE is a mid, highly saturated blue. Relative luminance 0.102; OKLCH L 48.9% C 0.230 H 275.4°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#4640DE
RGBrgb(70, 64, 222)
HSLhsl(242, 71%, 56%)
HSVhsv(242, 71%, 87%)
CMYKcmyk(68.5%, 71.2%, 0%, 12.9%)
CIE-LABlab(38.27, 50.73, -79.16)
CIE-LCHlch(38.27, 94.02, 302.65°)
OKLaboklab(48.95% 0.0217 -0.2288)
OKLCHoklch(48.95% 0.23 275.4)
XYZxyz(17.5397, 10.2412, 70.1455)
Luminance0.1024 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4640DE #D8DE40
analogous
#4089DE #4640DE #9540DE
triadic
#4640DE #DE4640 #40DE46
tetradic
#4640DE #DE4089 #D8DE40 #40DE95
square
#4640DE #DE4089 #D8DE40 #40DE95
split-complementary
#4640DE #DE9540 #89DE40
monochromatic
#1C188B #2721C0 #4640DE #7974E7 #ABA8F0

Accessibility & contrast

On white

6.89
#4640DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#4640DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4640DE
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4640DE#FFFFFF#000000##FFFFFF
##4640DE1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061E3
Deuteranopia (green-blind)
#0053DB
Tritanopia (blue-blind)
#006C8B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4640de;
/* rgb */ color: rgb(70, 64, 222);
/* oklch */ color: oklch(48.9% 0.230 275.4);
Tailwind
colors: {
  custom: {
    50: '#8d77ea',
    500: '#4640de',
    950: '#000000',
  },
}
SCSS
$custom: #4640de;
$custom-light: #8d77ea;
$custom-dark: #000000;
JSON
{
  "hex": "#4640de",
  "rgb": {
    "r": 70,
    "g": 64,
    "b": 222
  },
  "hsl": {
    "h": 242.278,
    "s": 70.536,
    "l": 56.078
  },
  "oklch": {
    "l": 0.48945,
    "c": 0.22983,
    "h": 275.4
  },
  "luminance": 0.10243
}

Semantic roles & 50–950 ramp

primary
#4640DE
secondary
#DBDE9C
accent
#ED3AE7
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4640DE

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

Preview Lab → · Contrast checker → · Palette generator →

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