#4640B8#4640B8

#4640B8 is a mid, vivid blue. Relative luminance 0.084; OKLCH L 45.4% C 0.183 H 278.5°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#4640B8
RGBrgb(70, 64, 184)
HSLhsl(243, 48%, 49%)
HSVhsv(243, 65%, 72%)
CMYKcmyk(62%, 65.2%, 0%, 27.8%)
CIE-LABlab(34.86, 38.44, -62.68)
CIE-LCHlch(34.86, 73.53, 301.52°)
OKLaboklab(45.45% 0.0269 -0.1806)
OKLCHoklch(45.45% 0.183 278.5)
XYZxyz(13.0081, 8.4286, 46.2795)
Luminance0.0843 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4640B8 #B2B840
analogous
#4076B8 #4640B8 #8240B8
triadic
#4640B8 #B84640 #40B846
tetradic
#4640B8 #B84076 #B2B840 #40B882
square
#4640B8 #B84076 #B2B840 #40B882
split-complementary
#4640B8 #B88240 #76B840
monochromatic
#23205D #35308B #4640B8 #6F6ACB #9B97DB

Accessibility & contrast

On white

7.82
#4640B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4640B8
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4640B8#FFFFFF#000000##FFFFFF
##4640B81.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BC
Deuteranopia (green-blind)
#004DB6
Tritanopia (blue-blind)
#005F76
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4640b8;
/* rgb */ color: rgb(70, 64, 184);
/* oklch */ color: oklch(45.4% 0.183 278.5);
Tailwind
colors: {
  custom: {
    50: '#8675ce',
    500: '#4640b8',
    950: '#000000',
  },
}
SCSS
$custom: #4640b8;
$custom-light: #8675ce;
$custom-dark: #000000;
JSON
{
  "hex": "#4640b8",
  "rgb": {
    "r": 70,
    "g": 64,
    "b": 184
  },
  "hsl": {
    "h": 243,
    "s": 48.387,
    "l": 48.627
  },
  "oklch": {
    "l": 0.45447,
    "c": 0.18258,
    "h": 278.5
  },
  "luminance": 0.0843
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4640B8

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

Preview Lab → · Contrast checker → · Palette generator →

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