#4E7CDA#4E7CDA

#4E7CDA is a mid, vivid blue. Relative luminance 0.211; OKLCH L 60.0% C 0.152 H 263.0°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#4E7CDA
RGBrgb(78, 124, 218)
HSLhsl(220, 65%, 58%)
HSVhsv(220, 64%, 85%)
CMYKcmyk(64.2%, 43.1%, 0%, 14.5%)
CIE-LABlab(53.05, 13.94, -52.88)
CIE-LCHlch(53.05, 54.68, 284.76°)
OKLaboklab(59.99% -0.0186 -0.1509)
OKLCHoklch(59.99% 0.152 263)
XYZxyz(23.0000, 21.0948, 69.1757)
Luminance0.2110 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7CDA #DAAC4E
analogous
#4EC2DA #4E7CDA #664EDA
triadic
#4E7CDA #DA4E7C #7CDA4E
tetradic
#4E7CDA #DA4EC2 #DAAC4E #4EDA66
square
#4E7CDA #DA4EC2 #DAAC4E #4EDA66
split-complementary
#4E7CDA #DA664E #C2DA4E
monochromatic
#1E4390 #295BC2 #4E7CDA #81A1E5 #B3C7EF

Accessibility & contrast

On white

4.02
#4E7CDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#4E7CDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7CDA
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7CDA#FFFFFF#000000##000000
##4E7CDA1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5086DE
Deuteranopia (green-blind)
#3A79D8
Tritanopia (blue-blind)
#0091A0
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4e7cda;
/* rgb */ color: rgb(78, 124, 218);
/* oklch */ color: oklch(60.0% 0.152 263.0);
Tailwind
colors: {
  custom: {
    50: '#8da1e6',
    500: '#4e7cda',
    950: '#000000',
  },
}
SCSS
$custom: #4e7cda;
$custom-light: #8da1e6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7cda",
  "rgb": {
    "r": 78,
    "g": 124,
    "b": 218
  },
  "hsl": {
    "h": 220.286,
    "s": 65.421,
    "l": 58.039
  },
  "oklch": {
    "l": 0.59989,
    "c": 0.15204,
    "h": 263
  },
  "luminance": 0.21097
}

Semantic roles & 50–950 ramp

primary
#4E7CDA
secondary
#DECBA6
accent
#B13FE8
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4E7CDA

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

Preview Lab → · Contrast checker → · Palette generator →

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