#4640DD#4640DD

#4640DD is a mid, highly saturated blue. Relative luminance 0.102; OKLCH L 48.8% C 0.229 H 275.5°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#4640DD
RGBrgb(70, 64, 221)
HSLhsl(242, 70%, 56%)
HSVhsv(242, 71%, 87%)
CMYKcmyk(68.3%, 71%, 0%, 13.3%)
CIE-LABlab(38.18, 50.42, -78.74)
CIE-LCHlch(38.18, 93.50, 302.63°)
OKLaboklab(48.85% 0.0219 -0.2276)
OKLCHoklch(48.85% 0.229 275.5)
XYZxyz(17.4060, 10.1877, 69.4417)
Luminance0.1019 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4640DD #D7DD40
analogous
#4088DD #4640DD #9440DD
triadic
#4640DD #DD4640 #40DD46
tetradic
#4640DD #DD4088 #D7DD40 #40DD94
square
#4640DD #DD4088 #D7DD40 #40DD94
split-complementary
#4640DD #DD9440 #88DD40
monochromatic
#1D198A #2822BE #4640DD #7874E6 #ABA8EF

Accessibility & contrast

On white

6.91
#4640DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#4640DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4640DD
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4640DD#FFFFFF#000000##FFFFFF
##4640DD1.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061E2
Deuteranopia (green-blind)
#0053DA
Tritanopia (blue-blind)
#006C8A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4640dd;
/* rgb */ color: rgb(70, 64, 221);
/* oklch */ color: oklch(48.8% 0.229 275.5);
Tailwind
colors: {
  custom: {
    50: '#8d77e9',
    500: '#4640dd',
    950: '#000000',
  },
}
SCSS
$custom: #4640dd;
$custom-light: #8d77e9;
$custom-dark: #000000;
JSON
{
  "hex": "#4640dd",
  "rgb": {
    "r": 70,
    "g": 64,
    "b": 221
  },
  "hsl": {
    "h": 242.293,
    "s": 69.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.48849,
    "c": 0.22863,
    "h": 275.5
  },
  "luminance": 0.10189
}

Semantic roles & 50–950 ramp

primary
#4640DD
secondary
#DADD9C
accent
#ED3BE6
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4640DD

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

Preview Lab → · Contrast checker → · Palette generator →

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