#4A79DB#4A79DB

#4A79DB is a mid, vivid blue. Relative luminance 0.202; OKLCH L 59.2% C 0.158 H 263.1°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#4A79DB
RGBrgb(74, 121, 219)
HSLhsl(221, 67%, 57%)
HSVhsv(221, 66%, 86%)
CMYKcmyk(66.2%, 44.7%, 0%, 14.1%)
CIE-LABlab(52.11, 15.46, -54.96)
CIE-LCHlch(52.11, 57.09, 285.71°)
OKLaboklab(59.23% -0.0189 -0.1571)
OKLCHoklch(59.23% 0.158 263.1)
XYZxyz(22.4431, 20.2429, 69.7286)
Luminance0.2024 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A79DB #DBAC4A
analogous
#4AC1DB #4A79DB #644ADB
triadic
#4A79DB #DB4A79 #79DB4A
tetradic
#4A79DB #DB4AC1 #DBAC4A #4ADB64
square
#4A79DB #DB4AC1 #DBAC4A #4ADB64
split-complementary
#4A79DB #DB644A #C1DB4A
monochromatic
#1C418E #2659C1 #4A79DB #7D9FE5 #B0C5EF

Accessibility & contrast

On white

4.16
#4A79DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#4A79DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A79DB
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A79DB#FFFFFF#000000##000000
##4A79DB1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4983DF
Deuteranopia (green-blind)
#2F76D9
Tritanopia (blue-blind)
#00909F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4a79db;
/* rgb */ color: rgb(74, 121, 219);
/* oklch */ color: oklch(59.2% 0.158 263.1);
Tailwind
colors: {
  custom: {
    50: '#8b9fe7',
    500: '#4a79db',
    950: '#000000',
  },
}
SCSS
$custom: #4a79db;
$custom-light: #8b9fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#4a79db",
  "rgb": {
    "r": 74,
    "g": 121,
    "b": 219
  },
  "hsl": {
    "h": 220.552,
    "s": 66.82,
    "l": 57.451
  },
  "oklch": {
    "l": 0.59233,
    "c": 0.15826,
    "h": 263.1
  },
  "luminance": 0.20245
}

Semantic roles & 50–950 ramp

primary
#4A79DB
secondary
#DECBA3
accent
#B23EEA
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4A79DB

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

Preview Lab → · Contrast checker → · Palette generator →

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