#4E7BDB#4E7BDB

#4E7BDB is a mid, vivid blue. Relative luminance 0.209; OKLCH L 59.8% C 0.155 H 263.5°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#4E7BDB
RGBrgb(78, 123, 219)
HSLhsl(221, 66%, 58%)
HSVhsv(221, 64%, 86%)
CMYKcmyk(64.4%, 43.8%, 0%, 14.1%)
CIE-LABlab(52.84, 14.89, -53.78)
CIE-LCHlch(52.84, 55.81, 285.48°)
OKLaboklab(59.84% -0.0174 -0.1536)
OKLCHoklch(59.84% 0.155 263.5)
XYZxyz(23.0066, 20.8979, 69.8254)
Luminance0.2090 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7BDB #DBAE4E
analogous
#4EC1DB #4E7BDB #674EDB
triadic
#4E7BDB #DB4E7B #7BDB4E
tetradic
#4E7BDB #DB4EC1 #DBAE4E #4EDB67
square
#4E7BDB #DB4EC1 #DBAE4E #4EDB67
split-complementary
#4E7BDB #DB674E #C1DB4E
monochromatic
#1E4291 #285AC4 #4E7BDB #81A1E5 #B4C7F0

Accessibility & contrast

On white

4.05
#4E7BDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#4E7BDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7BDB
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7BDB#FFFFFF#000000##000000
##4E7BDB1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D85DF
Deuteranopia (green-blind)
#3678D9
Tritanopia (blue-blind)
#0091A0
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4e7bdb;
/* rgb */ color: rgb(78, 123, 219);
/* oklch */ color: oklch(59.8% 0.155 263.5);
Tailwind
colors: {
  custom: {
    50: '#8da0e7',
    500: '#4e7bdb',
    950: '#000000',
  },
}
SCSS
$custom: #4e7bdb;
$custom-light: #8da0e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7bdb",
  "rgb": {
    "r": 78,
    "g": 123,
    "b": 219
  },
  "hsl": {
    "h": 220.851,
    "s": 66.197,
    "l": 58.235
  },
  "oklch": {
    "l": 0.59841,
    "c": 0.15457,
    "h": 263.5
  },
  "luminance": 0.209
}

Semantic roles & 50–950 ramp

primary
#4E7BDB
secondary
#DECDA6
accent
#B33FE9
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4E7BDB

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

Preview Lab → · Contrast checker → · Palette generator →

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