#4E6FE2#4E6FE2

#4E6FE2 is a mid, vivid blue. Relative luminance 0.185; OKLCH L 57.9% C 0.179 H 268.3°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#4E6FE2
RGBrgb(78, 111, 226)
HSLhsl(227, 72%, 60%)
HSVhsv(227, 65%, 89%)
CMYKcmyk(65.5%, 50.9%, 0%, 11.4%)
CIE-LABlab(50.07, 24.74, -62.18)
CIE-LCHlch(50.07, 66.92, 291.70°)
OKLaboklab(57.87% -0.0053 -0.1784)
OKLCHoklch(57.87% 0.179 268.3)
XYZxyz(22.5491, 18.4775, 74.3149)
Luminance0.1848 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6FE2 #E2C14E
analogous
#4EB9E2 #4E6FE2 #774EE2
triadic
#4E6FE2 #E24E6F #6FE24E
tetradic
#4E6FE2 #E24EB9 #E2C14E #4EE277
square
#4E6FE2 #E24EB9 #E2C14E #4EE277
split-complementary
#4E6FE2 #E2774E #B9E24E
monochromatic
#1A379C #2249D1 #4E6FE2 #839AEB #B7C5F3

Accessibility & contrast

On white

4.47
#4E6FE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#4E6FE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E6FE2
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6FE2#FFFFFF#000000##000000
##4E6FE21.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A7EE6
Deuteranopia (green-blind)
#0071E0
Tritanopia (blue-blind)
#008A9E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4e6fe2;
/* rgb */ color: rgb(78, 111, 226);
/* oklch */ color: oklch(57.9% 0.179 268.3);
Tailwind
colors: {
  custom: {
    50: '#8f97ec',
    500: '#4e6fe2',
    950: '#000000',
  },
}
SCSS
$custom: #4e6fe2;
$custom-light: #8f97ec;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6fe2",
  "rgb": {
    "r": 78,
    "g": 111,
    "b": 226
  },
  "hsl": {
    "h": 226.622,
    "s": 71.845,
    "l": 59.608
  },
  "oklch": {
    "l": 0.57867,
    "c": 0.17851,
    "h": 268.3
  },
  "luminance": 0.1848
}

Semantic roles & 50–950 ramp

primary
#4E6FE2
secondary
#E3D6A9
accent
#C639EF
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #4E6FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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