#4E7CCA#4E7CCA

#4E7CCA is a mid, vivid blue. Relative luminance 0.203; OKLCH L 59.0% C 0.130 H 260.4°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#4E7CCA
RGBrgb(78, 124, 202)
HSLhsl(218, 54%, 55%)
HSVhsv(218, 61%, 79%)
CMYKcmyk(61.4%, 38.6%, 0%, 20.8%)
CIE-LABlab(52.17, 8.46, -45.22)
CIE-LCHlch(52.17, 46.00, 280.60°)
OKLaboklab(59.02% -0.0218 -0.1284)
OKLCHoklch(59.02% 0.13 260.4)
XYZxyz(21.0065, 20.2974, 58.6764)
Luminance0.2030 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7CCA #CA9C4E
analogous
#4EBACA #4E7CCA #5E4ECA
triadic
#4E7CCA #CA4E7C #7CCA4E
tetradic
#4E7CCA #CA4EBA #CA9C4E #4ECA5E
square
#4E7CCA #CA4EBA #CA9C4E #4ECA5E
split-complementary
#4E7CCA #CA5E4E #BACA4E
monochromatic
#244479 #325EA8 #4E7CCA #7D9FD8 #ACC2E6

Accessibility & contrast

On white

4.15
#4E7CCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#4E7CCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7CCA
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7CCA#FFFFFF#000000##000000
##4E7CCA1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A83CD
Deuteranopia (green-blind)
#4977C8
Tritanopia (blue-blind)
#008E99
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4e7cca;
/* rgb */ color: rgb(78, 124, 202);
/* oklch */ color: oklch(59.0% 0.130 260.4);
Tailwind
colors: {
  custom: {
    50: '#8aa1da',
    500: '#4e7cca',
    950: '#000000',
  },
}
SCSS
$custom: #4e7cca;
$custom-light: #8aa1da;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7cca",
  "rgb": {
    "r": 78,
    "g": 124,
    "b": 202
  },
  "hsl": {
    "h": 217.742,
    "s": 53.913,
    "l": 54.902
  },
  "oklch": {
    "l": 0.59021,
    "c": 0.13028,
    "h": 260.4
  },
  "luminance": 0.20299
}

Semantic roles & 50–950 ramp

primary
#4E7CCA
secondary
#D4C1A0
accent
#A74BDD
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4E7CCA

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

Preview Lab → · Contrast checker → · Palette generator →

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