#4E7CF2#4E7CF2

#4E7CF2 is a mid, vivid blue. Relative luminance 0.224; OKLCH L 61.6% C 0.184 H 265.3°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#4E7CF2
RGBrgb(78, 124, 242)
HSLhsl(223, 86%, 63%)
HSVhsv(223, 68%, 95%)
CMYKcmyk(67.8%, 48.8%, 0%, 5.1%)
CIE-LABlab(54.49, 22.26, -64.00)
CIE-LCHlch(54.49, 67.76, 289.18°)
OKLaboklab(61.56% -0.015 -0.1836)
OKLCHoklch(61.56% 0.184 265.3)
XYZxyz(26.3709, 22.4432, 86.9294)
Luminance0.2245 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7CF2 #F2C44E
analogous
#4ECEF2 #4E7CF2 #724EF2
triadic
#4E7CF2 #F24E7C #7CF24E
tetradic
#4E7CF2 #F24ECE #F2C44E #4EF272
square
#4E7CF2 #F24ECE #F2C44E #4EF272
split-complementary
#4E7CF2 #F2724E #CEF24E
monochromatic
#0E3DB8 #1552EE #4E7CF2 #87A6F6 #C0D0FA

Accessibility & contrast

On white

3.83
#4E7CF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#4E7CF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7CF2
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7CF2#FFFFFF#000000##000000
##4E7CF21.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A8AF6
Deuteranopia (green-blind)
#007BF0
Tritanopia (blue-blind)
#0098AB
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4e7cf2;
/* rgb */ color: rgb(78, 124, 242);
/* oklch */ color: oklch(61.6% 0.184 265.3);
Tailwind
colors: {
  custom: {
    50: '#91a1f7',
    500: '#4e7cf2',
    950: '#000000',
  },
}
SCSS
$custom: #4e7cf2;
$custom-light: #91a1f7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7cf2",
  "rgb": {
    "r": 78,
    "g": 124,
    "b": 242
  },
  "hsl": {
    "h": 223.171,
    "s": 86.316,
    "l": 62.745
  },
  "oklch": {
    "l": 0.61556,
    "c": 0.18421,
    "h": 265.3
  },
  "luminance": 0.22446
}

Semantic roles & 50–950 ramp

primary
#4E7CF2
secondary
#ECDBB0
accent
#A403E3
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4E7CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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