#4E7BDA#4E7BDA

#4E7BDA is a mid, vivid blue. Relative luminance 0.208; OKLCH L 59.8% C 0.153 H 263.4°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#4E7BDA
RGBrgb(78, 123, 218)
HSLhsl(221, 65%, 58%)
HSVhsv(221, 64%, 85%)
CMYKcmyk(64.2%, 43.6%, 0%, 14.5%)
CIE-LABlab(52.78, 14.55, -53.31)
CIE-LCHlch(52.78, 55.26, 285.26°)
OKLaboklab(59.78% -0.0176 -0.1522)
OKLCHoklch(59.78% 0.153 263.4)
XYZxyz(22.8753, 20.8454, 69.1341)
Luminance0.2085 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7BDA #DAAD4E
analogous
#4EC1DA #4E7BDA #674EDA
triadic
#4E7BDA #DA4E7B #7BDA4E
tetradic
#4E7BDA #DA4EC1 #DAAD4E #4EDA67
square
#4E7BDA #DA4EC1 #DAAD4E #4EDA67
split-complementary
#4E7BDA #DA674E #C1DA4E
monochromatic
#1E4390 #295AC2 #4E7BDA #81A1E5 #B3C6EF

Accessibility & contrast

On white

4.06
#4E7BDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#4E7BDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7BDA
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7BDA#FFFFFF#000000##000000
##4E7BDA1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E85DE
Deuteranopia (green-blind)
#3778D8
Tritanopia (blue-blind)
#0091A0
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4e7bda;
/* rgb */ color: rgb(78, 123, 218);
/* oklch */ color: oklch(59.8% 0.153 263.4);
Tailwind
colors: {
  custom: {
    50: '#8da0e6',
    500: '#4e7bda',
    950: '#000000',
  },
}
SCSS
$custom: #4e7bda;
$custom-light: #8da0e6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7bda",
  "rgb": {
    "r": 78,
    "g": 123,
    "b": 218
  },
  "hsl": {
    "h": 220.714,
    "s": 65.421,
    "l": 58.039
  },
  "oklch": {
    "l": 0.59778,
    "c": 0.15321,
    "h": 263.4
  },
  "luminance": 0.20848
}

Semantic roles & 50–950 ramp

primary
#4E7BDA
secondary
#DECCA6
accent
#B23FE8
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4E7BDA

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

Preview Lab → · Contrast checker → · Palette generator →

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