#4E7BD6#4E7BD6

#4E7BD6 is a mid, vivid blue. Relative luminance 0.206; OKLCH L 59.5% C 0.148 H 262.9°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#4E7BD6
RGBrgb(78, 123, 214)
HSLhsl(220, 62%, 57%)
HSVhsv(220, 64%, 84%)
CMYKcmyk(63.6%, 42.5%, 0%, 16.1%)
CIE-LABlab(52.55, 13.17, -51.42)
CIE-LCHlch(52.55, 53.08, 284.37°)
OKLaboklab(59.53% -0.0183 -0.1466)
OKLCHoklch(59.53% 0.148 262.9)
XYZxyz(22.3582, 20.6386, 66.4107)
Luminance0.2064 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7BD6 #D6A94E
analogous
#4EBFD6 #4E7BD6 #654ED6
triadic
#4E7BD6 #D64E7B #7BD64E
tetradic
#4E7BD6 #D64EBF #D6A94E #4ED665
square
#4E7BD6 #D64EBF #D6A94E #4ED665
split-complementary
#4E7BD6 #D6654E #BFD64E
monochromatic
#20438A #2B5BBB #4E7BD6 #80A0E2 #B1C5ED

Accessibility & contrast

On white

4.10
#4E7BD6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#4E7BD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7BD6
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7BD6#FFFFFF#000000##000000
##4E7BD61.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5184DA
Deuteranopia (green-blind)
#3C78D4
Tritanopia (blue-blind)
#00909E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4e7bd6;
/* rgb */ color: rgb(78, 123, 214);
/* oklch */ color: oklch(59.5% 0.148 262.9);
Tailwind
colors: {
  custom: {
    50: '#8ca0e3',
    500: '#4e7bd6',
    950: '#000000',
  },
}
SCSS
$custom: #4e7bd6;
$custom-light: #8ca0e3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7bd6",
  "rgb": {
    "r": 78,
    "g": 123,
    "b": 214
  },
  "hsl": {
    "h": 220.147,
    "s": 62.385,
    "l": 57.255
  },
  "oklch": {
    "l": 0.59529,
    "c": 0.14778,
    "h": 262.9
  },
  "luminance": 0.20641
}

Semantic roles & 50–950 ramp

primary
#4E7BD6
secondary
#DBC9A4
accent
#AF42E5
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4E7BD6

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

Preview Lab → · Contrast checker → · Palette generator →

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