#4640DF#4640DF

#4640DF is a mid, highly saturated blue. Relative luminance 0.103; OKLCH L 49.0% C 0.231 H 275.4°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#4640DF
RGBrgb(70, 64, 223)
HSLhsl(242, 71%, 56%)
HSVhsv(242, 71%, 87%)
CMYKcmyk(68.6%, 71.3%, 0%, 12.5%)
CIE-LABlab(38.37, 51.05, -79.58)
CIE-LCHlch(38.37, 94.54, 302.68°)
OKLaboklab(49.04% 0.0216 -0.23)
OKLCHoklch(49.04% 0.231 275.4)
XYZxyz(17.6741, 10.2950, 70.8534)
Luminance0.1030 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4640DF #D9DF40
analogous
#408ADF #4640DF #9640DF
triadic
#4640DF #DF4640 #40DF46
tetradic
#4640DF #DF408A #D9DF40 #40DF96
square
#4640DF #DF408A #D9DF40 #40DF96
split-complementary
#4640DF #DF9640 #8ADF40
monochromatic
#1C188D #2620C1 #4640DF #7974E8 #ACA9F1

Accessibility & contrast

On white

6.86
#4640DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#4640DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4640DF
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4640DF#FFFFFF#000000##FFFFFF
##4640DF1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061E4
Deuteranopia (green-blind)
#0053DC
Tritanopia (blue-blind)
#006D8B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4640df;
/* rgb */ color: rgb(70, 64, 223);
/* oklch */ color: oklch(49.0% 0.231 275.4);
Tailwind
colors: {
  custom: {
    50: '#8e77ea',
    500: '#4640df',
    950: '#000000',
  },
}
SCSS
$custom: #4640df;
$custom-light: #8e77ea;
$custom-dark: #000000;
JSON
{
  "hex": "#4640df",
  "rgb": {
    "r": 70,
    "g": 64,
    "b": 223
  },
  "hsl": {
    "h": 242.264,
    "s": 71.3,
    "l": 56.275
  },
  "oklch": {
    "l": 0.49041,
    "c": 0.23102,
    "h": 275.4
  },
  "luminance": 0.10297
}

Semantic roles & 50–950 ramp

primary
#4640DF
secondary
#DCDE9D
accent
#EE3AE7
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4640DF

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

Preview Lab → · Contrast checker → · Palette generator →

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