#4A79CA#4A79CA

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

Color values

HEX#4A79CA
RGBrgb(74, 121, 202)
HSLhsl(218, 55%, 54%)
HSVhsv(218, 63%, 79%)
CMYKcmyk(63.4%, 40.1%, 0%, 20.8%)
CIE-LABlab(51.14, 9.55, -46.86)
CIE-LCHlch(51.14, 47.82, 281.52°)
OKLaboklab(58.17% -0.0221 -0.1334)
OKLCHoklch(58.17% 0.135 260.6)
XYZxyz(20.3183, 19.3930, 58.5381)
Luminance0.1940 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A79CA #CA9B4A
analogous
#4AB9CA #4A79CA #5B4ACA
triadic
#4A79CA #CA4A79 #79CA4A
tetradic
#4A79CA #CA4AB9 #CA9B4A #4ACA5B
square
#4A79CA #CA4AB9 #CA9B4A #4ACA5B
split-complementary
#4A79CA #CA5B4A #B9CA4A
monochromatic
#234277 #315CA6 #4A79CA #799CD8 #A9BFE6

Accessibility & contrast

On white

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

On black

4.88
#4A79CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A79CA
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A79CA#FFFFFF#000000##000000
##4A79CA1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a79ca;
/* rgb */ color: rgb(74, 121, 202);
/* oklch */ color: oklch(58.2% 0.135 260.6);
Tailwind
colors: {
  custom: {
    50: '#889fda',
    500: '#4a79ca',
    950: '#000000',
  },
}
SCSS
$custom: #4a79ca;
$custom-light: #889fda;
$custom-dark: #000000;
JSON
{
  "hex": "#4a79ca",
  "rgb": {
    "r": 74,
    "g": 121,
    "b": 202
  },
  "hsl": {
    "h": 217.969,
    "s": 54.701,
    "l": 54.118
  },
  "oklch": {
    "l": 0.58174,
    "c": 0.13518,
    "h": 260.6
  },
  "luminance": 0.19395
}

Semantic roles & 50–950 ramp

primary
#4A79CA
secondary
#D3BF9D
accent
#A84ADE
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4A79CA

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

Preview Lab → · Contrast checker → · Palette generator →

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