#4640DB#4640DB

#4640DB is a mid, highly saturated blue. Relative luminance 0.101; OKLCH L 48.7% C 0.226 H 275.6°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#4640DB
RGBrgb(70, 64, 219)
HSLhsl(242, 68%, 55%)
HSVhsv(242, 71%, 86%)
CMYKcmyk(68%, 70.8%, 0%, 14.1%)
CIE-LABlab(37.99, 49.78, -77.91)
CIE-LCHlch(37.99, 92.45, 302.58°)
OKLaboklab(48.66% 0.0222 -0.2251)
OKLCHoklch(48.66% 0.226 275.6)
XYZxyz(17.1412, 10.0818, 68.0467)
Luminance0.1008 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4640DB #D5DB40
analogous
#4087DB #4640DB #9440DB
triadic
#4640DB #DB4640 #40DB46
tetradic
#4640DB #DB4087 #D5DB40 #40DB94
square
#4640DB #DB4087 #D5DB40 #40DB94
split-complementary
#4640DB #DB9440 #87DB40
monochromatic
#1E1987 #2923BB #4640DB #7873E5 #AAA7EE

Accessibility & contrast

On white

6.96
#4640DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#4640DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4640DB
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4640DB#FFFFFF#000000##FFFFFF
##4640DB1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060E0
Deuteranopia (green-blind)
#0052D8
Tritanopia (blue-blind)
#006B89
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4640db;
/* rgb */ color: rgb(70, 64, 219);
/* oklch */ color: oklch(48.7% 0.226 275.6);
Tailwind
colors: {
  custom: {
    50: '#8d76e7',
    500: '#4640db',
    950: '#000000',
  },
}
SCSS
$custom: #4640db;
$custom-light: #8d76e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4640db",
  "rgb": {
    "r": 70,
    "g": 64,
    "b": 219
  },
  "hsl": {
    "h": 242.323,
    "s": 68.282,
    "l": 55.49
  },
  "oklch": {
    "l": 0.48657,
    "c": 0.22623,
    "h": 275.6
  },
  "luminance": 0.10083
}

Semantic roles & 50–950 ramp

primary
#4640DB
secondary
#D9DC9B
accent
#EB3DE4
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4640DB

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

Preview Lab → · Contrast checker → · Palette generator →

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