#4640C0#4640C0

#4640C0 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 46.2% C 0.193 H 277.8°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#4640C0
RGBrgb(70, 64, 192)
HSLhsl(243, 50%, 50%)
HSVhsv(243, 67%, 75%)
CMYKcmyk(63.5%, 66.7%, 0%, 24.7%)
CIE-LABlab(35.54, 41.07, -66.27)
CIE-LCHlch(35.54, 77.96, 301.79°)
OKLaboklab(46.16% 0.0261 -0.1911)
OKLCHoklch(46.16% 0.193 277.8)
XYZxyz(13.8705, 8.7735, 50.8215)
Luminance0.0877 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4640C0 #BAC040
analogous
#407AC0 #4640C0 #8640C0
triadic
#4640C0 #C04640 #40C046
tetradic
#4640C0 #C0407A #BAC040 #40C086
square
#4640C0 #C0407A #BAC040 #40C086
split-complementary
#4640C0 #C08640 #7AC040
monochromatic
#242164 #353092 #4640C0 #736ECF #9F9CDE

Accessibility & contrast

On white

7.62
#4640C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#4640C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4640C0
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4640C0#FFFFFF#000000##FFFFFF
##4640C01.007.622.757.62
#FFFFFF7.621.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C4
Deuteranopia (green-blind)
#004EBE
Tritanopia (blue-blind)
#00617A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4640c0;
/* rgb */ color: rgb(70, 64, 192);
/* oklch */ color: oklch(46.2% 0.193 277.8);
Tailwind
colors: {
  custom: {
    50: '#8876d4',
    500: '#4640c0',
    950: '#000000',
  },
}
SCSS
$custom: #4640c0;
$custom-light: #8876d4;
$custom-dark: #000000;
JSON
{
  "hex": "#4640c0",
  "rgb": {
    "r": 70,
    "g": 64,
    "b": 192
  },
  "hsl": {
    "h": 242.813,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.46155,
    "c": 0.19287,
    "h": 277.8
  },
  "luminance": 0.08775
}

Semantic roles & 50–950 ramp

primary
#4640C0
secondary
#C8CB91
accent
#DA4ED3
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #4640C0

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

Preview Lab → · Contrast checker → · Palette generator →

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