#4E79DF#4E79DF

#4E79DF is a mid, vivid blue. Relative luminance 0.206; OKLCH L 59.7% C 0.162 H 264.7°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#4E79DF
RGBrgb(78, 121, 223)
HSLhsl(222, 69%, 59%)
HSVhsv(222, 65%, 87%)
CMYKcmyk(65%, 45.7%, 0%, 12.5%)
CIE-LABlab(52.53, 17.51, -56.53)
CIE-LCHlch(52.53, 59.18, 287.21°)
OKLaboklab(59.68% -0.0149 -0.1617)
OKLCHoklch(59.68% 0.162 264.7)
XYZxyz(23.2939, 20.6200, 72.5502)
Luminance0.2062 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E79DF #DFB44E
analogous
#4EC2DF #4E79DF #6C4EDF
triadic
#4E79DF #DF4E79 #79DF4E
tetradic
#4E79DF #DF4EC2 #DFB44E #4EDF6C
square
#4E79DF #DF4EC2 #DFB44E #4EDF6C
split-complementary
#4E79DF #DF6C4E #C2DF4E
monochromatic
#1B4097 #2556CB #4E79DF #82A0E8 #B6C7F2

Accessibility & contrast

On white

4.10
#4E79DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#4E79DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E79DF
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E79DF#FFFFFF#000000##000000
##4E79DF1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4684E3
Deuteranopia (green-blind)
#2B77DD
Tritanopia (blue-blind)
#0090A1
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4e79df;
/* rgb */ color: rgb(78, 121, 223);
/* oklch */ color: oklch(59.7% 0.162 264.7);
Tailwind
colors: {
  custom: {
    50: '#8e9fe9',
    500: '#4e79df',
    950: '#000000',
  },
}
SCSS
$custom: #4e79df;
$custom-light: #8e9fe9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e79df",
  "rgb": {
    "r": 78,
    "g": 121,
    "b": 223
  },
  "hsl": {
    "h": 222.207,
    "s": 69.378,
    "l": 59.02
  },
  "oklch": {
    "l": 0.59682,
    "c": 0.16236,
    "h": 264.7
  },
  "luminance": 0.20622
}

Semantic roles & 50–950 ramp

primary
#4E79DF
secondary
#E1D0A8
accent
#B83CEC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4E79DF

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

Preview Lab → · Contrast checker → · Palette generator →

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