#4E62FE#4E62FE

#4E62FE is a mid, highly saturated blue. Relative luminance 0.175; OKLCH L 57.6% C 0.230 H 271.4°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#4E62FE
RGBrgb(78, 98, 254)
HSLhsl(233, 99%, 65%)
HSVhsv(233, 69%, 100%)
CMYKcmyk(69.3%, 61.4%, 0%, 0.4%)
CIE-LABlab(48.89, 42.31, -79.75)
CIE-LCHlch(48.89, 90.28, 297.95°)
OKLaboklab(57.62% 0.0058 -0.2302)
OKLCHoklch(57.62% 0.23 271.4)
XYZxyz(25.3929, 17.5083, 95.7879)
Luminance0.1751 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E62FE #FEEA4E
analogous
#4EBAFE #4E62FE #924EFE
triadic
#4E62FE #FE4E62 #62FE4E
tetradic
#4E62FE #FE4EBA #FEEA4E #4EFE92
square
#4E62FE #FE4EBA #FEEA4E #4EFE92
split-complementary
#4E62FE #FE924E #BAFE4E
monochromatic
#0119D0 #112CFE #4E62FE #8B98FE #C8CEFF

Accessibility & contrast

On white

4.66
#4E62FE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#4E62FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4E62FE
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E62FE#FFFFFF#000000##FFFFFF
##4E62FE1.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007CFF
Deuteranopia (green-blind)
#006CFB
Tritanopia (blue-blind)
#008AA7
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4e62fe;
/* rgb */ color: rgb(78, 98, 254);
/* oklch */ color: oklch(57.6% 0.230 271.4);
Tailwind
colors: {
  custom: {
    50: '#958eff',
    500: '#4e62fe',
    950: '#000000',
  },
}
SCSS
$custom: #4e62fe;
$custom-light: #958eff;
$custom-dark: #000000;
JSON
{
  "hex": "#4e62fe",
  "rgb": {
    "r": 78,
    "g": 98,
    "b": 254
  },
  "hsl": {
    "h": 233.182,
    "s": 98.876,
    "l": 65.098
  },
  "oklch": {
    "l": 0.57624,
    "c": 0.23031,
    "h": 271.4
  },
  "luminance": 0.17511
}

Semantic roles & 50–950 ramp

primary
#4E62FE
secondary
#F2EBB6
accent
#CB00E6
background
#FAF8FF
surface
#F3F0FF
border
#CDCBD7
text
#0F0C18
muted
#7F7D86

Preview Lab

Preview with #4E62FE

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

Preview Lab → · Contrast checker → · Palette generator →

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