#4640D8#4640D8

#4640D8 is a mid, highly saturated blue. Relative luminance 0.099; OKLCH L 48.4% C 0.223 H 275.9°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#4640D8
RGBrgb(70, 64, 216)
HSLhsl(242, 66%, 55%)
HSVhsv(242, 70%, 85%)
CMYKcmyk(67.6%, 70.4%, 0%, 15.3%)
CIE-LABlab(37.71, 48.82, -76.65)
CIE-LCHlch(37.71, 90.88, 302.50°)
OKLaboklab(48.37% 0.0227 -0.2215)
OKLCHoklch(48.37% 0.223 275.9)
XYZxyz(16.7498, 9.9252, 65.9855)
Luminance0.0993 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4640D8 #D2D840
analogous
#4086D8 #4640D8 #9240D8
triadic
#4640D8 #D84640 #40D846
tetradic
#4640D8 #D84086 #D2D840 #40D892
square
#4640D8 #D84086 #D2D840 #40D892
split-complementary
#4640D8 #D89240 #86D840
monochromatic
#1F1B83 #2B25B6 #4640D8 #7773E2 #A8A6ED

Accessibility & contrast

On white

7.03
#4640D8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#4640D8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4640D8
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4640D8#FFFFFF#000000##FFFFFF
##4640D81.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FDD
Deuteranopia (green-blind)
#0052D5
Tritanopia (blue-blind)
#006A88
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4640d8;
/* rgb */ color: rgb(70, 64, 216);
/* oklch */ color: oklch(48.4% 0.223 275.9);
Tailwind
colors: {
  custom: {
    50: '#8c76e5',
    500: '#4640d8',
    950: '#000000',
  },
}
SCSS
$custom: #4640d8;
$custom-light: #8c76e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4640d8",
  "rgb": {
    "r": 70,
    "g": 64,
    "b": 216
  },
  "hsl": {
    "h": 242.368,
    "s": 66.087,
    "l": 54.902
  },
  "oklch": {
    "l": 0.48371,
    "c": 0.22262,
    "h": 275.9
  },
  "luminance": 0.09927
}

Semantic roles & 50–950 ramp

primary
#4640D8
secondary
#D7DA9A
accent
#E93FE2
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4640D8

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

Preview Lab → · Contrast checker → · Palette generator →

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