#4E7FD9#4E7FD9

#4E7FD9 is a mid, vivid blue. Relative luminance 0.218; OKLCH L 60.6% C 0.147 H 261.5°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#4E7FD9
RGBrgb(78, 127, 217)
HSLhsl(219, 65%, 58%)
HSVhsv(219, 64%, 85%)
CMYKcmyk(64.1%, 41.5%, 0%, 14.9%)
CIE-LABlab(53.82, 11.76, -51.09)
CIE-LCHlch(53.82, 52.42, 282.96°)
OKLaboklab(60.56% -0.0217 -0.1456)
OKLCHoklch(60.56% 0.147 261.5)
XYZxyz(23.2512, 21.8060, 68.6158)
Luminance0.2181 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7FD9 #D9A84E
analogous
#4EC4D9 #4E7FD9 #624ED9
triadic
#4E7FD9 #D94E7F #7FD94E
tetradic
#4E7FD9 #D94EC4 #D9A84E #4ED962
square
#4E7FD9 #D94EC4 #D9A84E #4ED962
split-complementary
#4E7FD9 #D9624E #C4D94E
monochromatic
#1F468E #295FC0 #4E7FD9 #80A3E4 #B3C8EF

Accessibility & contrast

On white

3.92
#4E7FD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#4E7FD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7FD9
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7FD9#FFFFFF#000000##000000
##4E7FD91.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5688DD
Deuteranopia (green-blind)
#417BD7
Tritanopia (blue-blind)
#0094A1
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4e7fd9;
/* rgb */ color: rgb(78, 127, 217);
/* oklch */ color: oklch(60.6% 0.147 261.5);
Tailwind
colors: {
  custom: {
    50: '#8ca3e5',
    500: '#4e7fd9',
    950: '#000000',
  },
}
SCSS
$custom: #4e7fd9;
$custom-light: #8ca3e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7fd9",
  "rgb": {
    "r": 78,
    "g": 127,
    "b": 217
  },
  "hsl": {
    "h": 218.849,
    "s": 64.651,
    "l": 57.843
  },
  "oklch": {
    "l": 0.60562,
    "c": 0.14722,
    "h": 261.5
  },
  "luminance": 0.21808
}

Semantic roles & 50–950 ramp

primary
#4E7FD9
secondary
#DDCAA6
accent
#AD40E8
background
#F9FAFE
surface
#F1F3FC
border
#CBCDD5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4E7FD9

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

Preview Lab → · Contrast checker → · Palette generator →

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