#4E79BF#4E79BF

#4E79BF is a mid, moderate blue. Relative luminance 0.191; OKLCH L 57.7% C 0.119 H 259.7°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#4E79BF
RGBrgb(78, 121, 191)
HSLhsl(217, 47%, 53%)
HSVhsv(217, 59%, 75%)
CMYKcmyk(59.2%, 36.6%, 0%, 25.1%)
CIE-LABlab(50.75, 6.57, -41.18)
CIE-LCHlch(50.75, 41.70, 279.07°)
OKLaboklab(57.73% -0.0212 -0.1167)
OKLCHoklch(57.73% 0.119 259.7)
XYZxyz(19.3799, 19.0544, 51.9367)
Luminance0.1906 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E79BF #BF944E
analogous
#4EB2BF #4E79BF #5B4EBF
triadic
#4E79BF #BF4E79 #79BF4E
tetradic
#4E79BF #BF4EB2 #BF944E #4EBF5B
square
#4E79BF #BF4EB2 #BF944E #4EBF5B
split-complementary
#4E79BF #BF5B4E #B2BF4E
monochromatic
#27416C #375C99 #4E79BF #7B9BCF #A8BDE0

Accessibility & contrast

On white

4.36
#4E79BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#4E79BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E79BF
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E79BF#FFFFFF#000000##000000
##4E79BF1.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C7FC2
Deuteranopia (green-blind)
#4D74BE
Tritanopia (blue-blind)
#008993
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4e79bf;
/* rgb */ color: rgb(78, 121, 191);
/* oklch */ color: oklch(57.7% 0.119 259.7);
Tailwind
colors: {
  custom: {
    50: '#899fd2',
    500: '#4e79bf',
    950: '#000000',
  },
}
SCSS
$custom: #4e79bf;
$custom-light: #899fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e79bf",
  "rgb": {
    "r": 78,
    "g": 121,
    "b": 191
  },
  "hsl": {
    "h": 217.168,
    "s": 46.888,
    "l": 52.745
  },
  "oklch": {
    "l": 0.5773,
    "c": 0.11857,
    "h": 259.7
  },
  "luminance": 0.19056
}

Semantic roles & 50–950 ramp

primary
#4E79BF
secondary
#CDBA9C
accent
#A451D7
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #4E79BF

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

Preview Lab → · Contrast checker → · Palette generator →

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