#4640B2#4640B2

#4640B2 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.9% C 0.175 H 279.0°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#4640B2
RGBrgb(70, 64, 178)
HSLhsl(243, 47%, 47%)
HSVhsv(243, 64%, 70%)
CMYKcmyk(60.7%, 64%, 0%, 30.2%)
CIE-LABlab(34.36, 36.47, -59.95)
CIE-LCHlch(34.36, 70.17, 301.31°)
OKLaboklab(44.93% 0.0275 -0.1726)
OKLCHoklch(44.93% 0.175 279)
XYZxyz(12.3925, 8.1823, 43.0372)
Luminance0.0818 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4640B2 #ACB240
analogous
#4073B2 #4640B2 #7F40B2
triadic
#4640B2 #B24640 #40B246
tetradic
#4640B2 #B24073 #ACB240 #40B27F
square
#4640B2 #B24073 #ACB240 #40B27F
split-complementary
#4640B2 #B27F40 #73B240
monochromatic
#232058 #343085 #4640B2 #6C67C8 #9894D8

Accessibility & contrast

On white

7.96
#4640B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#4640B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4640B2
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4640B2#FFFFFF#000000##FFFFFF
##4640B21.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B6
Deuteranopia (green-blind)
#004CB0
Tritanopia (blue-blind)
#005D73
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4640b2;
/* rgb */ color: rgb(70, 64, 178);
/* oklch */ color: oklch(44.9% 0.175 279.0);
Tailwind
colors: {
  custom: {
    50: '#8575ca',
    500: '#4640b2',
    950: '#000000',
  },
}
SCSS
$custom: #4640b2;
$custom-light: #8575ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4640b2",
  "rgb": {
    "r": 70,
    "g": 64,
    "b": 178
  },
  "hsl": {
    "h": 243.158,
    "s": 47.107,
    "l": 47.451
  },
  "oklch": {
    "l": 0.44928,
    "c": 0.17473,
    "h": 279
  },
  "luminance": 0.08183
}

Semantic roles & 50–950 ramp

primary
#4640B2
secondary
#C1C48A
accent
#D751D0
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #4640B2

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

Preview Lab → · Contrast checker → · Palette generator →

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