#4E7BD5#4E7BD5

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

Color values

HEX#4E7BD5
RGBrgb(78, 123, 213)
HSLhsl(220, 62%, 57%)
HSVhsv(220, 63%, 84%)
CMYKcmyk(63.4%, 42.3%, 0%, 16.5%)
CIE-LABlab(52.50, 12.83, -50.94)
CIE-LCHlch(52.50, 52.53, 284.13°)
OKLaboklab(59.47% -0.0185 -0.1452)
OKLCHoklch(59.47% 0.146 262.7)
XYZxyz(22.2309, 20.5877, 65.7402)
Luminance0.2059 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7BD5 #D5A84E
analogous
#4EBFD5 #4E7BD5 #654ED5
triadic
#4E7BD5 #D54E7B #7BD54E
tetradic
#4E7BD5 #D54EBF #D5A84E #4ED565
square
#4E7BD5 #D54EBF #D5A84E #4ED565
split-complementary
#4E7BD5 #D5654E #BFD54E
monochromatic
#204388 #2C5BBA #4E7BD5 #7FA0E1 #B1C5EC

Accessibility & contrast

On white

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

On black

5.12
#4E7BD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7BD5
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7BD5#FFFFFF#000000##000000
##4E7BD51.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5284D8
Deuteranopia (green-blind)
#3D77D3
Tritanopia (blue-blind)
#008F9D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4e7bd5;
/* rgb */ color: rgb(78, 123, 213);
/* oklch */ color: oklch(59.5% 0.146 262.7);
Tailwind
colors: {
  custom: {
    50: '#8ca0e2',
    500: '#4e7bd5',
    950: '#000000',
  },
}
SCSS
$custom: #4e7bd5;
$custom-light: #8ca0e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7bd5",
  "rgb": {
    "r": 78,
    "g": 123,
    "b": 213
  },
  "hsl": {
    "h": 220,
    "s": 61.644,
    "l": 57.059
  },
  "oklch": {
    "l": 0.59467,
    "c": 0.14641,
    "h": 262.7
  },
  "luminance": 0.2059
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E7BD5

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

Preview Lab → · Contrast checker → · Palette generator →

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