#4640D3#4640D3

#4640D3 is a mid, highly saturated blue. Relative luminance 0.097; OKLCH L 47.9% C 0.217 H 276.2°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#4640D3
RGBrgb(70, 64, 211)
HSLhsl(242, 63%, 54%)
HSVhsv(242, 70%, 83%)
CMYKcmyk(66.8%, 69.7%, 0%, 17.3%)
CIE-LABlab(37.24, 47.22, -74.53)
CIE-LCHlch(37.24, 88.23, 302.36°)
OKLaboklab(47.9% 0.0235 -0.2153)
OKLCHoklch(47.9% 0.217 276.2)
XYZxyz(16.1132, 9.6706, 62.6328)
Luminance0.0967 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4640D3 #CDD340
analogous
#4084D3 #4640D3 #9040D3
triadic
#4640D3 #D34640 #40D346
tetradic
#4640D3 #D34084 #CDD340 #40D390
square
#4640D3 #D34084 #CDD340 #40D390
split-complementary
#4640D3 #D39040 #84D340
monochromatic
#201D7C #2D28AE #4640D3 #7672DE #A6A3EA

Accessibility & contrast

On white

7.16
#4640D3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#4640D3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4640D3
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4640D3#FFFFFF#000000##FFFFFF
##4640D31.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED7
Deuteranopia (green-blind)
#0051D0
Tritanopia (blue-blind)
#006885
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4640d3;
/* rgb */ color: rgb(70, 64, 211);
/* oklch */ color: oklch(47.9% 0.217 276.2);
Tailwind
colors: {
  custom: {
    50: '#8b76e2',
    500: '#4640d3',
    950: '#000000',
  },
}
SCSS
$custom: #4640d3;
$custom-light: #8b76e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4640d3",
  "rgb": {
    "r": 70,
    "g": 64,
    "b": 211
  },
  "hsl": {
    "h": 242.449,
    "s": 62.553,
    "l": 53.922
  },
  "oklch": {
    "l": 0.47899,
    "c": 0.21655,
    "h": 276.2
  },
  "luminance": 0.09672
}

Semantic roles & 50–950 ramp

primary
#4640D3
secondary
#D4D798
accent
#E642DF
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0815
muted
#7E7B84

Preview Lab

Preview with #4640D3

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

Preview Lab → · Contrast checker → · Palette generator →

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