#4864DE#4864DE

#4864DE is a mid, vivid blue. Relative luminance 0.158; OKLCH L 55.1% C 0.188 H 269.5°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#4864DE
RGBrgb(72, 100, 222)
HSLhsl(229, 69%, 58%)
HSVhsv(229, 68%, 87%)
CMYKcmyk(67.6%, 55%, 0%, 12.9%)
CIE-LABlab(46.66, 29.31, -65.44)
CIE-LCHlch(46.66, 71.71, 294.13°)
OKLaboklab(55.13% -0.0017 -0.1883)
OKLCHoklch(55.13% 0.188 269.5)
XYZxyz(20.4100, 15.7640, 71.0602)
Luminance0.1577 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4864DE #DEC248
analogous
#48AFDE #4864DE #7748DE
triadic
#4864DE #DE4864 #64DE48
tetradic
#4864DE #DE48AF #DEC248 #48DE77
square
#4864DE #DE48AF #DEC248 #48DE77
split-complementary
#4864DE #DE7748 #AFDE48
monochromatic
#1A3091 #2442C5 #4864DE #7C90E7 #B0BCF1

Accessibility & contrast

On white

5.06
#4864DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#4864DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4864DE
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4864DE#FFFFFF#000000##FFFFFF
##4864DE1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E2
Deuteranopia (green-blind)
#0068DC
Tritanopia (blue-blind)
#008197
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4864de;
/* rgb */ color: rgb(72, 100, 222);
/* oklch */ color: oklch(55.1% 0.188 269.5);
Tailwind
colors: {
  custom: {
    50: '#8c8fe9',
    500: '#4864de',
    950: '#000000',
  },
}
SCSS
$custom: #4864de;
$custom-light: #8c8fe9;
$custom-dark: #000000;
JSON
{
  "hex": "#4864de",
  "rgb": {
    "r": 72,
    "g": 100,
    "b": 222
  },
  "hsl": {
    "h": 228.8,
    "s": 69.444,
    "l": 57.647
  },
  "oklch": {
    "l": 0.5513,
    "c": 0.18832,
    "h": 269.5
  },
  "luminance": 0.15766
}

Semantic roles & 50–950 ramp

primary
#4864DE
secondary
#DFD4A3
accent
#CB3CEC
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4864DE

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

Preview Lab → · Contrast checker → · Palette generator →

#4864DE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva