#4E7FD6#4E7FD6

#4E7FD6 is a mid, vivid blue. Relative luminance 0.217; OKLCH L 60.4% C 0.143 H 261.0°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#4E7FD6
RGBrgb(78, 127, 214)
HSLhsl(218, 62%, 57%)
HSVhsv(218, 64%, 84%)
CMYKcmyk(63.6%, 40.7%, 0%, 16.1%)
CIE-LABlab(53.66, 10.73, -49.66)
CIE-LCHlch(53.66, 50.81, 282.19°)
OKLaboklab(60.38% -0.0223 -0.1414)
OKLCHoklch(60.38% 0.143 261)
XYZxyz(22.8646, 21.6513, 66.5795)
Luminance0.2165 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7FD6 #D6A54E
analogous
#4EC3D6 #4E7FD6 #614ED6
triadic
#4E7FD6 #D64E7F #7FD64E
tetradic
#4E7FD6 #D64EC3 #D6A54E #4ED661
square
#4E7FD6 #D64EC3 #D6A54E #4ED661
split-complementary
#4E7FD6 #D6614E #C3D64E
monochromatic
#20468A #2B5FBB #4E7FD6 #80A3E2 #B1C7ED

Accessibility & contrast

On white

3.94
#4E7FD6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#4E7FD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7FD6
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7FD6#FFFFFF#000000##000000
##4E7FD61.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5887D9
Deuteranopia (green-blind)
#447AD4
Tritanopia (blue-blind)
#0093A0
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4e7fd6;
/* rgb */ color: rgb(78, 127, 214);
/* oklch */ color: oklch(60.4% 0.143 261.0);
Tailwind
colors: {
  custom: {
    50: '#8ca3e3',
    500: '#4e7fd6',
    950: '#000000',
  },
}
SCSS
$custom: #4e7fd6;
$custom-light: #8ca3e3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7fd6",
  "rgb": {
    "r": 78,
    "g": 127,
    "b": 214
  },
  "hsl": {
    "h": 218.382,
    "s": 62.385,
    "l": 57.255
  },
  "oklch": {
    "l": 0.60381,
    "c": 0.14317,
    "h": 261
  },
  "luminance": 0.21653
}

Semantic roles & 50–950 ramp

primary
#4E7FD6
secondary
#DBC8A4
accent
#AB42E5
background
#F9FAFD
surface
#F1F3FB
border
#CBCDD4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #4E7FD6

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

Preview Lab → · Contrast checker → · Palette generator →

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