#4A79CB#4A79CB

#4A79CB is a mid, vivid blue. Relative luminance 0.194; OKLCH L 58.2% C 0.137 H 260.8°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#4A79CB
RGBrgb(74, 121, 203)
HSLhsl(218, 55%, 54%)
HSVhsv(218, 64%, 80%)
CMYKcmyk(63.5%, 40.4%, 0%, 20.4%)
CIE-LABlab(51.20, 9.90, -47.34)
CIE-LCHlch(51.20, 48.37, 281.81°)
OKLaboklab(58.23% -0.0219 -0.1348)
OKLCHoklch(58.23% 0.137 260.8)
XYZxyz(20.4371, 19.4405, 59.1637)
Luminance0.1944 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A79CB #CB9C4A
analogous
#4AB9CB #4A79CB #5C4ACB
triadic
#4A79CB #CB4A79 #79CB4A
tetradic
#4A79CB #CB4AB9 #CB9C4A #4ACB5C
square
#4A79CB #CB4AB9 #CB9C4A #4ACB5C
split-complementary
#4A79CB #CB5C4A #B9CB4A
monochromatic
#234278 #305CA8 #4A79CB #7A9CD9 #A9BFE6

Accessibility & contrast

On white

4.30
#4A79CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#4A79CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A79CB
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A79CB#FFFFFF#000000##000000
##4A79CB1.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5480CE
Deuteranopia (green-blind)
#4174C9
Tritanopia (blue-blind)
#008C98
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4a79cb;
/* rgb */ color: rgb(74, 121, 203);
/* oklch */ color: oklch(58.2% 0.137 260.8);
Tailwind
colors: {
  custom: {
    50: '#889fdb',
    500: '#4a79cb',
    950: '#000000',
  },
}
SCSS
$custom: #4a79cb;
$custom-light: #889fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#4a79cb",
  "rgb": {
    "r": 74,
    "g": 121,
    "b": 203
  },
  "hsl": {
    "h": 218.14,
    "s": 55.365,
    "l": 54.314
  },
  "oklch": {
    "l": 0.58234,
    "c": 0.13654,
    "h": 260.8
  },
  "luminance": 0.19442
}

Semantic roles & 50–950 ramp

primary
#4A79CB
secondary
#D4C09D
accent
#A849DF
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4A79CB

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

Preview Lab → · Contrast checker → · Palette generator →

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