#4640BC#4640BC

#4640BC is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.8% C 0.188 H 278.1°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#4640BC
RGBrgb(70, 64, 188)
HSLhsl(243, 49%, 49%)
HSVhsv(243, 66%, 74%)
CMYKcmyk(62.8%, 66%, 0%, 26.3%)
CIE-LABlab(35.20, 39.76, -64.49)
CIE-LCHlch(35.20, 75.76, 301.66°)
OKLaboklab(45.8% 0.0265 -0.1859)
OKLCHoklch(45.8% 0.188 278.1)
XYZxyz(13.4334, 8.5987, 48.5190)
Luminance0.0860 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4640BC #B6BC40
analogous
#4078BC #4640BC #8440BC
triadic
#4640BC #BC4640 #40BC46
tetradic
#4640BC #BC4078 #B6BC40 #40BC84
square
#4640BC #BC4078 #B6BC40 #40BC84
split-complementary
#4640BC #BC8440 #78BC40
monochromatic
#242161 #35308E #4640BC #716CCD #9D9ADD

Accessibility & contrast

On white

7.72
#4640BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#4640BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4640BC
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4640BC#FFFFFF#000000##FFFFFF
##4640BC1.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C0
Deuteranopia (green-blind)
#004EBA
Tritanopia (blue-blind)
#006078
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4640bc;
/* rgb */ color: rgb(70, 64, 188);
/* oklch */ color: oklch(45.8% 0.188 278.1);
Tailwind
colors: {
  custom: {
    50: '#8775d1',
    500: '#4640bc',
    950: '#000000',
  },
}
SCSS
$custom: #4640bc;
$custom-light: #8775d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4640bc",
  "rgb": {
    "r": 70,
    "g": 64,
    "b": 188
  },
  "hsl": {
    "h": 242.903,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.45799,
    "c": 0.18775,
    "h": 278.1
  },
  "luminance": 0.086
}

Semantic roles & 50–950 ramp

primary
#4640BC
secondary
#C6C98F
accent
#D94FD2
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #4640BC

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

Preview Lab → · Contrast checker → · Palette generator →

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