#4640D9#4640D9

#4640D9 is a mid, highly saturated blue. Relative luminance 0.100; OKLCH L 48.5% C 0.224 H 275.8°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#4640D9
RGBrgb(70, 64, 217)
HSLhsl(242, 67%, 55%)
HSVhsv(242, 71%, 85%)
CMYKcmyk(67.7%, 70.5%, 0%, 14.9%)
CIE-LABlab(37.80, 49.14, -77.07)
CIE-LCHlch(37.80, 91.41, 302.52°)
OKLaboklab(48.47% 0.0225 -0.2227)
OKLCHoklch(48.47% 0.224 275.8)
XYZxyz(16.8795, 9.9771, 66.6684)
Luminance0.0998 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4640D9 #D3D940
analogous
#4086D9 #4640D9 #9340D9
triadic
#4640D9 #D94640 #40D946
tetradic
#4640D9 #D94086 #D3D940 #40D993
square
#4640D9 #D94086 #D3D940 #40D993
split-complementary
#4640D9 #D99340 #86D940
monochromatic
#1E1A84 #2A24B7 #4640D9 #7773E3 #A9A6ED

Accessibility & contrast

On white

7.01
#4640D9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#4640D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4640D9
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4640D9#FFFFFF#000000##FFFFFF
##4640D91.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060DE
Deuteranopia (green-blind)
#0052D6
Tritanopia (blue-blind)
#006A88
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4640d9;
/* rgb */ color: rgb(70, 64, 217);
/* oklch */ color: oklch(48.5% 0.224 275.8);
Tailwind
colors: {
  custom: {
    50: '#8c76e6',
    500: '#4640d9',
    950: '#000000',
  },
}
SCSS
$custom: #4640d9;
$custom-light: #8c76e6;
$custom-dark: #000000;
JSON
{
  "hex": "#4640d9",
  "rgb": {
    "r": 70,
    "g": 64,
    "b": 217
  },
  "hsl": {
    "h": 242.353,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.48466,
    "c": 0.22383,
    "h": 275.8
  },
  "luminance": 0.09979
}

Semantic roles & 50–950 ramp

primary
#4640D9
secondary
#D8DA9A
accent
#EA3EE3
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4640D9

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

Preview Lab → · Contrast checker → · Palette generator →

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