#4640C7#4640C7

#4640C7 is a mid, highly saturated blue. Relative luminance 0.091; OKLCH L 46.8% C 0.202 H 277.2°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#4640C7
RGBrgb(70, 64, 199)
HSLhsl(243, 55%, 52%)
HSVhsv(243, 68%, 78%)
CMYKcmyk(64.8%, 67.8%, 0%, 22%)
CIE-LABlab(36.16, 43.35, -69.35)
CIE-LCHlch(36.16, 81.79, 302.01°)
OKLaboklab(46.79% 0.0252 -0.2001)
OKLCHoklch(46.79% 0.202 277.2)
XYZxyz(14.6646, 9.0912, 55.0037)
Luminance0.0909 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4640C7 #C1C740
analogous
#407EC7 #4640C7 #8A40C7
triadic
#4640C7 #C74640 #40C746
tetradic
#4640C7 #C7407E #C1C740 #40C78A
square
#4640C7 #C7407E #C1C740 #40C78A
split-complementary
#4640C7 #C78A40 #7EC740
monochromatic
#23206D #332E9C #4640C7 #746FD5 #A29FE3

Accessibility & contrast

On white

7.45
#4640C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#4640C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4640C7
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4640C7#FFFFFF#000000##FFFFFF
##4640C71.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCB
Deuteranopia (green-blind)
#004FC4
Tritanopia (blue-blind)
#00647E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4640c7;
/* rgb */ color: rgb(70, 64, 199);
/* oklch */ color: oklch(46.8% 0.202 277.2);
Tailwind
colors: {
  custom: {
    50: '#8976d9',
    500: '#4640c7',
    950: '#000000',
  },
}
SCSS
$custom: #4640c7;
$custom-light: #8976d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4640c7",
  "rgb": {
    "r": 70,
    "g": 64,
    "b": 199
  },
  "hsl": {
    "h": 242.667,
    "s": 54.656,
    "l": 51.569
  },
  "oklch": {
    "l": 0.46788,
    "c": 0.20171,
    "h": 277.2
  },
  "luminance": 0.09092
}

Semantic roles & 50–950 ramp

primary
#4640C7
secondary
#CCCF94
accent
#DE4AD7
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #4640C7

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

Preview Lab → · Contrast checker → · Palette generator →

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