#4640BD#4640BD

#4640BD is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.9% C 0.189 H 278.0°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#4640BD
RGBrgb(70, 64, 189)
HSLhsl(243, 49%, 50%)
HSVhsv(243, 66%, 74%)
CMYKcmyk(63%, 66.1%, 0%, 25.9%)
CIE-LABlab(35.29, 40.09, -64.93)
CIE-LCHlch(35.29, 76.31, 301.69°)
OKLaboklab(45.89% 0.0264 -0.1872)
OKLCHoklch(45.89% 0.189 278)
XYZxyz(13.5415, 8.6419, 49.0887)
Luminance0.0864 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4640BD #B7BD40
analogous
#4079BD #4640BD #8540BD
triadic
#4640BD #BD4640 #40BD46
tetradic
#4640BD #BD4079 #B7BD40 #40BD85
square
#4640BD #BD4079 #B7BD40 #40BD85
split-complementary
#4640BD #BD8540 #79BD40
monochromatic
#242162 #35318F #4640BD #716DCD #9E9ADD

Accessibility & contrast

On white

7.70
#4640BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#4640BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4640BD
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4640BD#FFFFFF#000000##FFFFFF
##4640BD1.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C1
Deuteranopia (green-blind)
#004EBB
Tritanopia (blue-blind)
#006079
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4640bd;
/* rgb */ color: rgb(70, 64, 189);
/* oklch */ color: oklch(45.9% 0.189 278.0);
Tailwind
colors: {
  custom: {
    50: '#8776d2',
    500: '#4640bd',
    950: '#000000',
  },
}
SCSS
$custom: #4640bd;
$custom-light: #8776d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4640bd",
  "rgb": {
    "r": 70,
    "g": 64,
    "b": 189
  },
  "hsl": {
    "h": 242.88,
    "s": 49.407,
    "l": 49.608
  },
  "oklch": {
    "l": 0.45888,
    "c": 0.18903,
    "h": 278
  },
  "luminance": 0.08643
}

Semantic roles & 50–950 ramp

primary
#4640BD
secondary
#C6C990
accent
#D94FD2
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0D0814
muted
#7D7B83

Preview Lab

Preview with #4640BD

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

Preview Lab → · Contrast checker → · Palette generator →

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