#4640DA#4640DA

#4640DA is a mid, highly saturated blue. Relative luminance 0.100; OKLCH L 48.6% C 0.225 H 275.7°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#4640DA
RGBrgb(70, 64, 218)
HSLhsl(242, 68%, 55%)
HSVhsv(242, 71%, 85%)
CMYKcmyk(67.9%, 70.6%, 0%, 14.5%)
CIE-LABlab(37.90, 49.46, -77.49)
CIE-LCHlch(37.90, 91.93, 302.55°)
OKLaboklab(48.56% 0.0224 -0.2239)
OKLCHoklch(48.56% 0.225 275.7)
XYZxyz(17.0099, 10.0293, 67.3555)
Luminance0.1003 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4640DA #D4DA40
analogous
#4087DA #4640DA #9340DA
triadic
#4640DA #DA4640 #40DA46
tetradic
#4640DA #DA4087 #D4DA40 #40DA93
square
#4640DA #DA4087 #D4DA40 #40DA93
split-complementary
#4640DA #DA9340 #87DA40
monochromatic
#1E1A86 #2A24B9 #4640DA #7873E4 #A9A7EE

Accessibility & contrast

On white

6.99
#4640DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#4640DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4640DA
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4640DA#FFFFFF#000000##FFFFFF
##4640DA1.006.993.016.99
#FFFFFF6.991.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060DF
Deuteranopia (green-blind)
#0052D7
Tritanopia (blue-blind)
#006B89
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4640da;
/* rgb */ color: rgb(70, 64, 218);
/* oklch */ color: oklch(48.6% 0.225 275.7);
Tailwind
colors: {
  custom: {
    50: '#8d76e7',
    500: '#4640da',
    950: '#000000',
  },
}
SCSS
$custom: #4640da;
$custom-light: #8d76e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4640da",
  "rgb": {
    "r": 70,
    "g": 64,
    "b": 218
  },
  "hsl": {
    "h": 242.338,
    "s": 67.544,
    "l": 55.294
  },
  "oklch": {
    "l": 0.48562,
    "c": 0.22503,
    "h": 275.7
  },
  "luminance": 0.10031
}

Semantic roles & 50–950 ramp

primary
#4640DA
secondary
#D9DB9B
accent
#EA3DE4
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4640DA

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

Preview Lab → · Contrast checker → · Palette generator →

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