#4E7FD1#4E7FD1

#4E7FD1 is a mid, vivid blue. Relative luminance 0.214; OKLCH L 60.1% C 0.136 H 260.1°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#4E7FD1
RGBrgb(78, 127, 209)
HSLhsl(218, 59%, 56%)
HSVhsv(218, 63%, 82%)
CMYKcmyk(62.7%, 39.2%, 0%, 18%)
CIE-LABlab(53.38, 9.02, -47.26)
CIE-LCHlch(53.38, 48.12, 280.80°)
OKLaboklab(60.08% -0.0234 -0.1344)
OKLCHoklch(60.08% 0.136 260.1)
XYZxyz(22.2358, 21.3998, 63.2680)
Luminance0.2140 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7FD1 #D1A04E
analogous
#4EC1D1 #4E7FD1 #5F4ED1
triadic
#4E7FD1 #D14E7F #7FD14E
tetradic
#4E7FD1 #D14EC1 #D1A04E #4ED15F
square
#4E7FD1 #D14EC1 #D1A04E #4ED15F
split-complementary
#4E7FD1 #D15F4E #C1D14E
monochromatic
#224683 #2F60B3 #4E7FD1 #7FA2DE #AFC5EA

Accessibility & contrast

On white

3.98
#4E7FD1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#4E7FD1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7FD1
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7FD1#FFFFFF#000000##000000
##4E7FD11.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B86D4
Deuteranopia (green-blind)
#487ACF
Tritanopia (blue-blind)
#00929E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4e7fd1;
/* rgb */ color: rgb(78, 127, 209);
/* oklch */ color: oklch(60.1% 0.136 260.1);
Tailwind
colors: {
  custom: {
    50: '#8ba3df',
    500: '#4e7fd1',
    950: '#000000',
  },
}
SCSS
$custom: #4e7fd1;
$custom-light: #8ba3df;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7fd1",
  "rgb": {
    "r": 78,
    "g": 127,
    "b": 209
  },
  "hsl": {
    "h": 217.557,
    "s": 58.744,
    "l": 56.275
  },
  "oklch": {
    "l": 0.60083,
    "c": 0.13642,
    "h": 260.1
  },
  "luminance": 0.21402
}

Semantic roles & 50–950 ramp

primary
#4E7FD1
secondary
#D8C4A2
accent
#A846E2
background
#F9FAFD
surface
#F1F3FB
border
#CBCDD4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #4E7FD1

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

Preview Lab → · Contrast checker → · Palette generator →

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