#4E6CFC#4E6CFC

#4E6CFC is a mid, highly saturated blue. Relative luminance 0.194; OKLCH L 59.2% C 0.216 H 269.6°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#4E6CFC
RGBrgb(78, 108, 252)
HSLhsl(230, 97%, 65%)
HSVhsv(230, 69%, 99%)
CMYKcmyk(69%, 57.1%, 0%, 1.2%)
CIE-LABlab(51.12, 35.56, -75.01)
CIE-LCHlch(51.12, 83.02, 295.36°)
OKLaboklab(59.23% -0.0014 -0.2162)
OKLCHoklch(59.23% 0.216 269.6)
XYZxyz(26.0691, 19.3705, 94.4416)
Luminance0.1937 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6CFC #FCDE4E
analogous
#4EC3FC #4E6CFC #874EFC
triadic
#4E6CFC #FC4E6C #6CFC4E
tetradic
#4E6CFC #FC4EC3 #FCDE4E #4EFC87
square
#4E6CFC #FC4EC3 #FCDE4E #4EFC87
split-complementary
#4E6CFC #FC874E #C3FC4E
monochromatic
#0326CC #123AFB #4E6CFC #8A9EFD #C6D0FE

Accessibility & contrast

On white

4.31
#4E6CFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#4E6CFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E6CFC
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6CFC#FFFFFF#000000##000000
##4E6CFC1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FF
Deuteranopia (green-blind)
#0072F9
Tritanopia (blue-blind)
#0090AA
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4e6cfc;
/* rgb */ color: rgb(78, 108, 252);
/* oklch */ color: oklch(59.2% 0.216 269.6);
Tailwind
colors: {
  custom: {
    50: '#9495fe',
    500: '#4e6cfc',
    950: '#000000',
  },
}
SCSS
$custom: #4e6cfc;
$custom-light: #9495fe;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6cfc",
  "rgb": {
    "r": 78,
    "g": 108,
    "b": 252
  },
  "hsl": {
    "h": 229.655,
    "s": 96.667,
    "l": 64.706
  },
  "oklch": {
    "l": 0.59225,
    "c": 0.21623,
    "h": 269.6
  },
  "luminance": 0.19373
}

Semantic roles & 50–950 ramp

primary
#4E6CFC
secondary
#F1E6B5
accent
#BE00E6
background
#FAF9FF
surface
#F3F1FF
border
#CDCBD7
text
#0F0D18
muted
#7F7E86

Preview Lab

Preview with #4E6CFC

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

Preview Lab → · Contrast checker → · Palette generator →

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