#4E7BD8#4E7BD8

#4E7BD8 is a mid, vivid blue. Relative luminance 0.207; OKLCH L 59.7% C 0.150 H 263.1°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#4E7BD8
RGBrgb(78, 123, 216)
HSLhsl(220, 64%, 58%)
HSVhsv(220, 64%, 85%)
CMYKcmyk(63.9%, 43.1%, 0%, 15.3%)
CIE-LABlab(52.67, 13.86, -52.37)
CIE-LCHlch(52.67, 54.17, 284.82°)
OKLaboklab(59.65% -0.018 -0.1494)
OKLCHoklch(59.65% 0.151 263.1)
XYZxyz(22.6152, 20.7414, 67.7641)
Luminance0.2074 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7BD8 #D8AB4E
analogous
#4EC0D8 #4E7BD8 #664ED8
triadic
#4E7BD8 #D84E7B #7BD84E
tetradic
#4E7BD8 #D84EC0 #D8AB4E #4ED866
square
#4E7BD8 #D84EC0 #D8AB4E #4ED866
split-complementary
#4E7BD8 #D8664E #C0D84E
monochromatic
#1F438D #2A5BBF #4E7BD8 #80A0E3 #B2C6EE

Accessibility & contrast

On white

4.08
#4E7BD8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#4E7BD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7BD8
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7BD8#FFFFFF#000000##000000
##4E7BD81.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5084DC
Deuteranopia (green-blind)
#3A78D6
Tritanopia (blue-blind)
#00909F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4e7bd8;
/* rgb */ color: rgb(78, 123, 216);
/* oklch */ color: oklch(59.7% 0.150 263.1);
Tailwind
colors: {
  custom: {
    50: '#8ca0e4',
    500: '#4e7bd8',
    950: '#000000',
  },
}
SCSS
$custom: #4e7bd8;
$custom-light: #8ca0e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7bd8",
  "rgb": {
    "r": 78,
    "g": 123,
    "b": 216
  },
  "hsl": {
    "h": 220.435,
    "s": 63.889,
    "l": 57.647
  },
  "oklch": {
    "l": 0.59653,
    "c": 0.1505,
    "h": 263.1
  },
  "luminance": 0.20743
}

Semantic roles & 50–950 ramp

primary
#4E7BD8
secondary
#DDCBA5
accent
#B141E7
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4E7BD8

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

Preview Lab → · Contrast checker → · Palette generator →

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