#4640CC#4640CC

#4640CC is a mid, highly saturated blue. Relative luminance 0.093; OKLCH L 47.2% C 0.208 H 276.8°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#4640CC
RGBrgb(70, 64, 204)
HSLhsl(243, 58%, 53%)
HSVhsv(243, 69%, 80%)
CMYKcmyk(65.7%, 68.6%, 0%, 20%)
CIE-LABlab(36.61, 44.97, -71.53)
CIE-LCHlch(36.61, 84.49, 302.16°)
OKLaboklab(47.25% 0.0245 -0.2065)
OKLCHoklch(47.25% 0.208 276.8)
XYZxyz(15.2547, 9.3272, 58.1115)
Luminance0.0933 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4640CC #C6CC40
analogous
#4080CC #4640CC #8C40CC
triadic
#4640CC #CC4640 #40CC46
tetradic
#4640CC #CC4080 #C6CC40 #40CC8C
square
#4640CC #CC4080 #C6CC40 #40CC8C
split-complementary
#4640CC #CC8C40 #80CC40
monochromatic
#221F73 #312CA3 #4640CC #7570D9 #A4A1E6

Accessibility & contrast

On white

7.33
#4640CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#4640CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4640CC
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4640CC#FFFFFF#000000##FFFFFF
##4640CC1.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CD0
Deuteranopia (green-blind)
#0050C9
Tritanopia (blue-blind)
#006681
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4640cc;
/* rgb */ color: rgb(70, 64, 204);
/* oklch */ color: oklch(47.2% 0.208 276.8);
Tailwind
colors: {
  custom: {
    50: '#8a76dd',
    500: '#4640cc',
    950: '#000000',
  },
}
SCSS
$custom: #4640cc;
$custom-light: #8a76dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4640cc",
  "rgb": {
    "r": 70,
    "g": 64,
    "b": 204
  },
  "hsl": {
    "h": 242.571,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.47247,
    "c": 0.20794,
    "h": 276.8
  },
  "luminance": 0.09329
}

Semantic roles & 50–950 ramp

primary
#4640CC
secondary
#D0D295
accent
#E147DA
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #4640CC

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

Preview Lab → · Contrast checker → · Palette generator →

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