#4E7FE1#4E7FE1

#4E7FE1 is a mid, vivid blue. Relative luminance 0.222; OKLCH L 61.1% C 0.158 H 262.6°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#4E7FE1
RGBrgb(78, 127, 225)
HSLhsl(220, 71%, 59%)
HSVhsv(220, 65%, 88%)
CMYKcmyk(65.3%, 43.6%, 0%, 11.8%)
CIE-LABlab(54.27, 14.52, -54.86)
CIE-LCHlch(54.27, 56.75, 284.82°)
OKLaboklab(61.06% -0.0202 -0.1567)
OKLCHoklch(61.06% 0.158 262.6)
XYZxyz(24.3171, 22.2323, 74.2293)
Luminance0.2223 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7FE1 #E1B04E
analogous
#4EC8E1 #4E7FE1 #674EE1
triadic
#4E7FE1 #E14E7F #7FE14E
tetradic
#4E7FE1 #E14EC8 #E1B04E #4EE167
square
#4E7FE1 #E14EC8 #E1B04E #4EE167
split-complementary
#4E7FE1 #E1674E #C8E14E
monochromatic
#1A459A #235CCF #4E7FE1 #82A5EA #B7CBF3

Accessibility & contrast

On white

3.86
#4E7FE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#4E7FE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7FE1
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7FE1#FFFFFF#000000##000000
##4E7FE11.003.865.455.45
#FFFFFF3.861.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5089E5
Deuteranopia (green-blind)
#387BDF
Tritanopia (blue-blind)
#0095A5
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4e7fe1;
/* rgb */ color: rgb(78, 127, 225);
/* oklch */ color: oklch(61.1% 0.158 262.6);
Tailwind
colors: {
  custom: {
    50: '#8ea3eb',
    500: '#4e7fe1',
    950: '#000000',
  },
}
SCSS
$custom: #4e7fe1;
$custom-light: #8ea3eb;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7fe1",
  "rgb": {
    "r": 78,
    "g": 127,
    "b": 225
  },
  "hsl": {
    "h": 220,
    "s": 71.014,
    "l": 59.412
  },
  "oklch": {
    "l": 0.61057,
    "c": 0.158,
    "h": 262.6
  },
  "luminance": 0.22235
}

Semantic roles & 50–950 ramp

primary
#4E7FE1
secondary
#E2CFA9
accent
#B23AEE
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4E7FE1

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

Preview Lab → · Contrast checker → · Palette generator →

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