#4D64FF#4D64FF

#4D64FF is a mid, highly saturated blue. Relative luminance 0.179; OKLCH L 58.0% C 0.230 H 270.8°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#4D64FF
RGBrgb(77, 100, 255)
HSLhsl(232, 100%, 65%)
HSVhsv(232, 70%, 100%)
CMYKcmyk(69.8%, 60.8%, 0%, 0%)
CIE-LABlab(49.39, 41.32, -79.50)
CIE-LCHlch(49.39, 89.60, 297.46°)
OKLaboklab(58% 0.0034 -0.2295)
OKLCHoklch(58% 0.23 270.8)
XYZxyz(25.6616, 17.9096, 96.6928)
Luminance0.1791 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D64FF #FFE84D
analogous
#4DBDFF #4D64FF #8F4DFF
triadic
#4D64FF #FF4D64 #64FF4D
tetradic
#4D64FF #FF4DBD #FFE84D #4DFF8F
square
#4D64FF #FF4DBD #FFE84D #4DFF8F
split-complementary
#4D64FF #FF8F4D #BDFF4D
monochromatic
#001BD2 #102FFF #4D64FF #8A99FF #C7CFFF

Accessibility & contrast

On white

4.58
#4D64FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#4D64FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D64FF
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D64FF#FFFFFF#000000##000000
##4D64FF1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFF
Deuteranopia (green-blind)
#006DFC
Tritanopia (blue-blind)
#008CA8
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4d64ff;
/* rgb */ color: rgb(77, 100, 255);
/* oklch */ color: oklch(58.0% 0.230 270.8);
Tailwind
colors: {
  custom: {
    50: '#9490ff',
    500: '#4d64ff',
    950: '#000000',
  },
}
SCSS
$custom: #4d64ff;
$custom-light: #9490ff;
$custom-dark: #000000;
JSON
{
  "hex": "#4d64ff",
  "rgb": {
    "r": 77,
    "g": 100,
    "b": 255
  },
  "hsl": {
    "h": 232.247,
    "s": 100,
    "l": 65.098
  },
  "oklch": {
    "l": 0.57997,
    "c": 0.22955,
    "h": 270.8
  },
  "luminance": 0.17912
}

Semantic roles & 50–950 ramp

primary
#4D64FF
secondary
#F2EAB6
accent
#C800E6
background
#FAF8FF
surface
#F3F0FF
border
#CDCBD7
text
#0F0C18
muted
#7F7D86

Preview Lab

Preview with #4D64FF

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

Preview Lab → · Contrast checker → · Palette generator →

#4D64FF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva