#4640C5#4640C5

#4640C5 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 46.6% C 0.199 H 277.3°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#4640C5
RGBrgb(70, 64, 197)
HSLhsl(243, 53%, 51%)
HSVhsv(243, 68%, 77%)
CMYKcmyk(64.5%, 67.5%, 0%, 22.7%)
CIE-LABlab(35.98, 42.70, -68.48)
CIE-LCHlch(35.98, 80.70, 301.94°)
OKLaboklab(46.61% 0.0255 -0.1976)
OKLCHoklch(46.61% 0.199 277.3)
XYZxyz(14.4340, 8.9989, 53.7888)
Luminance0.0900 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4640C5 #BFC540
analogous
#407CC5 #4640C5 #8840C5
triadic
#4640C5 #C54640 #40C546
tetradic
#4640C5 #C5407C #BFC540 #40C588
square
#4640C5 #C5407C #BFC540 #40C588
split-complementary
#4640C5 #C58840 #7CC540
monochromatic
#24206A #332F99 #4640C5 #736FD3 #A19EE2

Accessibility & contrast

On white

7.50
#4640C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#4640C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4640C5
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4640C5#FFFFFF#000000##FFFFFF
##4640C51.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC9
Deuteranopia (green-blind)
#004FC2
Tritanopia (blue-blind)
#00637D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4640c5;
/* rgb */ color: rgb(70, 64, 197);
/* oklch */ color: oklch(46.6% 0.199 277.3);
Tailwind
colors: {
  custom: {
    50: '#8976d8',
    500: '#4640c5',
    950: '#000000',
  },
}
SCSS
$custom: #4640c5;
$custom-light: #8976d8;
$custom-dark: #000000;
JSON
{
  "hex": "#4640c5",
  "rgb": {
    "r": 70,
    "g": 64,
    "b": 197
  },
  "hsl": {
    "h": 242.707,
    "s": 53.414,
    "l": 51.176
  },
  "oklch": {
    "l": 0.46606,
    "c": 0.1992,
    "h": 277.3
  },
  "luminance": 0.09
}

Semantic roles & 50–950 ramp

primary
#4640C5
secondary
#CBCE93
accent
#DD4BD6
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #4640C5

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

Preview Lab → · Contrast checker → · Palette generator →

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