#4640B9#4640B9

#4640B9 is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.5% C 0.184 H 278.4°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#4640B9
RGBrgb(70, 64, 185)
HSLhsl(243, 49%, 49%)
HSVhsv(243, 65%, 73%)
CMYKcmyk(62.2%, 65.4%, 0%, 27.5%)
CIE-LABlab(34.94, 38.77, -63.14)
CIE-LCHlch(34.94, 74.09, 301.55°)
OKLaboklab(45.54% 0.0268 -0.1819)
OKLCHoklch(45.54% 0.184 278.4)
XYZxyz(13.1133, 8.4707, 46.8335)
Luminance0.0847 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4640B9 #B3B940
analogous
#4077B9 #4640B9 #8340B9
triadic
#4640B9 #B94640 #40B946
tetradic
#4640B9 #B94077 #B3B940 #40B983
square
#4640B9 #B94077 #B3B940 #40B983
split-complementary
#4640B9 #B98340 #77B940
monochromatic
#24215E #35308C #4640B9 #6F6BCC #9B98DB

Accessibility & contrast

On white

7.79
#4640B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#4640B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4640B9
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4640B9#FFFFFF#000000##FFFFFF
##4640B91.007.792.697.79
#FFFFFF7.791.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BD
Deuteranopia (green-blind)
#004DB7
Tritanopia (blue-blind)
#005F77
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4640b9;
/* rgb */ color: rgb(70, 64, 185);
/* oklch */ color: oklch(45.5% 0.184 278.4);
Tailwind
colors: {
  custom: {
    50: '#8675cf',
    500: '#4640b9',
    950: '#000000',
  },
}
SCSS
$custom: #4640b9;
$custom-light: #8675cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4640b9",
  "rgb": {
    "r": 70,
    "g": 64,
    "b": 185
  },
  "hsl": {
    "h": 242.975,
    "s": 48.594,
    "l": 48.824
  },
  "oklch": {
    "l": 0.45535,
    "c": 0.18388,
    "h": 278.4
  },
  "luminance": 0.08472
}

Semantic roles & 50–950 ramp

primary
#4640B9
secondary
#C4C78E
accent
#D850D1
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #4640B9

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

Preview Lab → · Contrast checker → · Palette generator →

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