#4D79DF#4D79DF

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

Color values

HEX#4D79DF
RGBrgb(77, 121, 223)
HSLhsl(222, 70%, 59%)
HSVhsv(222, 65%, 87%)
CMYKcmyk(65.5%, 45.7%, 0%, 12.5%)
CIE-LABlab(52.48, 17.34, -56.61)
CIE-LCHlch(52.48, 59.20, 287.03°)
OKLaboklab(59.63% -0.0157 -0.1619)
OKLCHoklch(59.63% 0.163 264.5)
XYZxyz(23.2126, 20.5780, 72.5464)
Luminance0.2058 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D79DF #DFB34D
analogous
#4DC2DF #4D79DF #6A4DDF
triadic
#4D79DF #DF4D79 #79DF4D
tetradic
#4D79DF #DF4DC2 #DFB34D #4DDF6A
square
#4D79DF #DF4DC2 #DFB34D #4DDF6A
split-complementary
#4D79DF #DF6A4D #C2DF4D
monochromatic
#1B4097 #2456CA #4D79DF #81A0E8 #B5C7F2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D79DF#FFFFFF#000000##000000
##4D79DF1.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)
#2A77DD
Tritanopia (blue-blind)
#0091A1
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4d79df;
/* rgb */ color: rgb(77, 121, 223);
/* oklch */ color: oklch(59.6% 0.163 264.5);
Tailwind
colors: {
  custom: {
    50: '#8d9fe9',
    500: '#4d79df',
    950: '#000000',
  },
}
SCSS
$custom: #4d79df;
$custom-light: #8d9fe9;
$custom-dark: #000000;
JSON
{
  "hex": "#4d79df",
  "rgb": {
    "r": 77,
    "g": 121,
    "b": 223
  },
  "hsl": {
    "h": 221.918,
    "s": 69.524,
    "l": 58.824
  },
  "oklch": {
    "l": 0.59634,
    "c": 0.16268,
    "h": 264.5
  },
  "luminance": 0.2058
}

Semantic roles & 50–950 ramp

primary
#4D79DF
secondary
#E1CFA7
accent
#B73BEC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4D79DF

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

Preview Lab → · Contrast checker → · Palette generator →

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