#4E79CD#4E79CD

#4E79CD is a mid, vivid blue. Relative luminance 0.197; OKLCH L 58.6% C 0.138 H 262.5°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#4E79CD
RGBrgb(78, 121, 205)
HSLhsl(220, 56%, 55%)
HSVhsv(220, 62%, 80%)
CMYKcmyk(62%, 41%, 0%, 19.6%)
CIE-LABlab(51.50, 11.31, -48.00)
CIE-LCHlch(51.50, 49.31, 283.26°)
OKLaboklab(58.55% -0.018 -0.1366)
OKLCHoklch(58.55% 0.138 262.5)
XYZxyz(20.9949, 19.7003, 60.4419)
Luminance0.1970 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E79CD #CDA24E
analogous
#4EB8CD #4E79CD #624ECD
triadic
#4E79CD #CD4E79 #79CD4E
tetradic
#4E79CD #CD4EB8 #CDA24E #4ECD62
square
#4E79CD #CD4EB8 #CDA24E #4ECD62
split-complementary
#4E79CD #CD624E #B8CD4E
monochromatic
#23427D #315BAD #4E79CD #7E9DDA #ADC1E8

Accessibility & contrast

On white

4.25
#4E79CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#4E79CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E79CD
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E79CD#FFFFFF#000000##000000
##4E79CD1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5481D0
Deuteranopia (green-blind)
#4175CB
Tritanopia (blue-blind)
#008C99
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4e79cd;
/* rgb */ color: rgb(78, 121, 205);
/* oklch */ color: oklch(58.6% 0.138 262.5);
Tailwind
colors: {
  custom: {
    50: '#8b9fdd',
    500: '#4e79cd',
    950: '#000000',
  },
}
SCSS
$custom: #4e79cd;
$custom-light: #8b9fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#4e79cd",
  "rgb": {
    "r": 78,
    "g": 121,
    "b": 205
  },
  "hsl": {
    "h": 219.685,
    "s": 55.947,
    "l": 55.49
  },
  "oklch": {
    "l": 0.58551,
    "c": 0.13781,
    "h": 262.5
  },
  "luminance": 0.19702
}

Semantic roles & 50–950 ramp

primary
#4E79CD
secondary
#D6C4A1
accent
#AC49DF
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4E79CD

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

Preview Lab → · Contrast checker → · Palette generator →

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