#4E7AC3#4E7AC3

#4E7AC3 is a mid, vivid blue. Relative luminance 0.195; OKLCH L 58.2% C 0.123 H 260.0°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#4E7AC3
RGBrgb(78, 122, 195)
HSLhsl(217, 49%, 54%)
HSVhsv(217, 60%, 76%)
CMYKcmyk(60%, 37.4%, 0%, 23.5%)
CIE-LABlab(51.24, 7.31, -42.70)
CIE-LCHlch(51.24, 43.32, 279.71°)
OKLaboklab(58.18% -0.0213 -0.1211)
OKLCHoklch(58.18% 0.123 260)
XYZxyz(19.9483, 19.4772, 54.3274)
Luminance0.1948 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7AC3 #C3974E
analogous
#4EB4C3 #4E7AC3 #5C4EC3
triadic
#4E7AC3 #C34E7A #7AC34E
tetradic
#4E7AC3 #C34EB4 #C3974E #4EC35C
square
#4E7AC3 #C34EB4 #C3974E #4EC35C
split-complementary
#4E7AC3 #C35C4E #B4C34E
monochromatic
#264270 #365D9E #4E7AC3 #7C9CD2 #A9BFE2

Accessibility & contrast

On white

4.29
#4E7AC3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#4E7AC3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7AC3
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7AC3#FFFFFF#000000##000000
##4E7AC31.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e7ac3;
/* rgb */ color: rgb(78, 122, 195);
/* oklch */ color: oklch(58.2% 0.123 260.0);
Tailwind
colors: {
  custom: {
    50: '#89a0d5',
    500: '#4e7ac3',
    950: '#000000',
  },
}
SCSS
$custom: #4e7ac3;
$custom-light: #89a0d5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7ac3",
  "rgb": {
    "r": 78,
    "g": 122,
    "b": 195
  },
  "hsl": {
    "h": 217.436,
    "s": 49.367,
    "l": 53.529
  },
  "oklch": {
    "l": 0.58179,
    "c": 0.12295,
    "h": 260
  },
  "luminance": 0.19479
}

Semantic roles & 50–950 ramp

primary
#4E7AC3
secondary
#CFBD9D
accent
#A54FD9
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #4E7AC3

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

Preview Lab → · Contrast checker → · Palette generator →

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