#4E7AC2#4E7AC2

#4E7AC2 is a mid, vivid blue. Relative luminance 0.194; OKLCH L 58.1% C 0.122 H 259.8°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#4E7AC2
RGBrgb(78, 122, 194)
HSLhsl(217, 49%, 53%)
HSVhsv(217, 60%, 76%)
CMYKcmyk(59.8%, 37.1%, 0%, 23.9%)
CIE-LABlab(51.19, 6.97, -42.21)
CIE-LCHlch(51.19, 42.78, 279.38°)
OKLaboklab(58.12% -0.0215 -0.1197)
OKLCHoklch(58.12% 0.122 259.8)
XYZxyz(19.8356, 19.4321, 53.7339)
Luminance0.1943 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7AC2 #C2964E
analogous
#4EB4C2 #4E7AC2 #5C4EC2
triadic
#4E7AC2 #C24E7A #7AC24E
tetradic
#4E7AC2 #C24EB4 #C2964E #4EC25C
square
#4E7AC2 #C24EB4 #C2964E #4EC25C
split-complementary
#4E7AC2 #C25C4E #B4C24E
monochromatic
#26426F #365D9D #4E7AC2 #7C9CD2 #A9BEE1

Accessibility & contrast

On white

4.30
#4E7AC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#4E7AC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7AC2
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7AC2#FFFFFF#000000##000000
##4E7AC21.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C80C5
Deuteranopia (green-blind)
#4C75C0
Tritanopia (blue-blind)
#008A95
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4e7ac2;
/* rgb */ color: rgb(78, 122, 194);
/* oklch */ color: oklch(58.1% 0.122 259.8);
Tailwind
colors: {
  custom: {
    50: '#89a0d5',
    500: '#4e7ac2',
    950: '#000000',
  },
}
SCSS
$custom: #4e7ac2;
$custom-light: #89a0d5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7ac2",
  "rgb": {
    "r": 78,
    "g": 122,
    "b": 194
  },
  "hsl": {
    "h": 217.241,
    "s": 48.739,
    "l": 53.333
  },
  "oklch": {
    "l": 0.58121,
    "c": 0.12158,
    "h": 259.8
  },
  "luminance": 0.19434
}

Semantic roles & 50–950 ramp

primary
#4E7AC2
secondary
#CFBC9D
accent
#A450D8
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #4E7AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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