#4D79CA#4D79CA

#4D79CA is a mid, vivid blue. Relative luminance 0.195; OKLCH L 58.3% C 0.134 H 261.6°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#4D79CA
RGBrgb(77, 121, 202)
HSLhsl(219, 54%, 55%)
HSVhsv(219, 62%, 79%)
CMYKcmyk(61.9%, 40.1%, 0%, 20.8%)
CIE-LABlab(51.28, 10.10, -46.63)
CIE-LCHlch(51.28, 47.71, 282.22°)
OKLaboklab(58.32% -0.0195 -0.1326)
OKLCHoklch(58.32% 0.134 261.6)
XYZxyz(20.5549, 19.5149, 58.5492)
Luminance0.1952 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D79CA #CA9E4D
analogous
#4DB8CA #4D79CA #604DCA
triadic
#4D79CA #CA4D79 #79CA4D
tetradic
#4D79CA #CA4DB8 #CA9E4D #4DCA60
square
#4D79CA #CA4DB8 #CA9E4D #4DCA60
split-complementary
#4D79CA #CA604D #B8CA4D
monochromatic
#244279 #325BA8 #4D79CA #7C9DD8 #ABC0E6

Accessibility & contrast

On white

4.28
#4D79CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#4D79CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D79CA
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D79CA#FFFFFF#000000##000000
##4D79CA1.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5580CD
Deuteranopia (green-blind)
#4475C8
Tritanopia (blue-blind)
#008B98
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4d79ca;
/* rgb */ color: rgb(77, 121, 202);
/* oklch */ color: oklch(58.3% 0.134 261.6);
Tailwind
colors: {
  custom: {
    50: '#8a9fda',
    500: '#4d79ca',
    950: '#000000',
  },
}
SCSS
$custom: #4d79ca;
$custom-light: #8a9fda;
$custom-dark: #000000;
JSON
{
  "hex": "#4d79ca",
  "rgb": {
    "r": 77,
    "g": 121,
    "b": 202
  },
  "hsl": {
    "h": 218.88,
    "s": 54.113,
    "l": 54.706
  },
  "oklch": {
    "l": 0.58321,
    "c": 0.13406,
    "h": 261.6
  },
  "luminance": 0.19517
}

Semantic roles & 50–950 ramp

primary
#4D79CA
secondary
#D4C19F
accent
#AA4ADD
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0D0E15
muted
#7D7E83

Preview Lab

Preview with #4D79CA

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

Preview Lab → · Contrast checker → · Palette generator →

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