#4E79C3#4E79C3

#4E79C3 is a mid, vivid blue. Relative luminance 0.192; OKLCH L 58.0% C 0.124 H 260.6°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#4E79C3
RGBrgb(78, 121, 195)
HSLhsl(218, 49%, 54%)
HSVhsv(218, 60%, 76%)
CMYKcmyk(60%, 37.9%, 0%, 23.5%)
CIE-LABlab(50.96, 7.92, -43.14)
CIE-LCHlch(50.96, 43.86, 280.40°)
OKLaboklab(57.96% -0.0202 -0.1224)
OKLCHoklch(57.96% 0.124 260.6)
XYZxyz(19.8261, 19.2329, 54.2867)
Luminance0.1923 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E79C3 #C3984E
analogous
#4EB3C3 #4E79C3 #5D4EC3
triadic
#4E79C3 #C34E79 #79C34E
tetradic
#4E79C3 #C34EB3 #C3984E #4EC35D
square
#4E79C3 #C34EB3 #C3984E #4EC35D
split-complementary
#4E79C3 #C35D4E #B3C34E
monochromatic
#264170 #365C9E #4E79C3 #7C9CD2 #A9BEE2

Accessibility & contrast

On white

4.33
#4E79C3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#4E79C3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E79C3
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E79C3#FFFFFF#000000##000000
##4E79C31.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#597FC6
Deuteranopia (green-blind)
#4A74C1
Tritanopia (blue-blind)
#008A95
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4e79c3;
/* rgb */ color: rgb(78, 121, 195);
/* oklch */ color: oklch(58.0% 0.124 260.6);
Tailwind
colors: {
  custom: {
    50: '#899fd5',
    500: '#4e79c3',
    950: '#000000',
  },
}
SCSS
$custom: #4e79c3;
$custom-light: #899fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e79c3",
  "rgb": {
    "r": 78,
    "g": 121,
    "b": 195
  },
  "hsl": {
    "h": 217.949,
    "s": 49.367,
    "l": 53.529
  },
  "oklch": {
    "l": 0.57959,
    "c": 0.12407,
    "h": 260.6
  },
  "luminance": 0.19235
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E79C3

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

Preview Lab → · Contrast checker → · Palette generator →

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