#4E7AC1#4E7AC1

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

Color values

HEX#4E7AC1
RGBrgb(78, 122, 193)
HSLhsl(217, 48%, 53%)
HSVhsv(217, 60%, 76%)
CMYKcmyk(59.6%, 36.8%, 0%, 24.3%)
CIE-LABlab(51.14, 6.63, -41.72)
CIE-LCHlch(51.14, 42.24, 279.04°)
OKLaboklab(58.06% -0.0218 -0.1182)
OKLCHoklch(58.06% 0.12 259.6)
XYZxyz(19.7237, 19.3873, 53.1445)
Luminance0.1939 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7AC1 #C1954E
analogous
#4EB4C1 #4E7AC1 #5B4EC1
triadic
#4E7AC1 #C14E7A #7AC14E
tetradic
#4E7AC1 #C14EB4 #C1954E #4EC15B
square
#4E7AC1 #C14EB4 #C1954E #4EC15B
split-complementary
#4E7AC1 #C15B4E #B4C14E
monochromatic
#27426E #365D9B #4E7AC1 #7B9CD1 #A9BEE1

Accessibility & contrast

On white

4.31
#4E7AC1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#4E7AC1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7AC1
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7AC1#FFFFFF#000000##000000
##4E7AC11.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C80C4
Deuteranopia (green-blind)
#4D75C0
Tritanopia (blue-blind)
#008A94
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4e7ac1;
/* rgb */ color: rgb(78, 122, 193);
/* oklch */ color: oklch(58.1% 0.120 259.6);
Tailwind
colors: {
  custom: {
    50: '#89a0d4',
    500: '#4e7ac1',
    950: '#000000',
  },
}
SCSS
$custom: #4e7ac1;
$custom-light: #89a0d4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7ac1",
  "rgb": {
    "r": 78,
    "g": 122,
    "b": 193
  },
  "hsl": {
    "h": 217.043,
    "s": 48.117,
    "l": 53.137
  },
  "oklch": {
    "l": 0.58064,
    "c": 0.12021,
    "h": 259.6
  },
  "luminance": 0.19389
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E7AC1

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

Preview Lab → · Contrast checker → · Palette generator →

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