#4A79E1#4A79E1

#4A79E1 is a mid, vivid blue. Relative luminance 0.206; OKLCH L 59.6% C 0.166 H 263.8°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#4A79E1
RGBrgb(74, 121, 225)
HSLhsl(221, 72%, 59%)
HSVhsv(221, 67%, 88%)
CMYKcmyk(67.1%, 46.2%, 0%, 11.8%)
CIE-LABlab(52.47, 17.56, -57.76)
CIE-LCHlch(52.47, 60.37, 286.91°)
OKLaboklab(59.62% -0.0179 -0.1654)
OKLCHoklch(59.62% 0.166 263.8)
XYZxyz(23.2472, 20.5645, 73.9638)
Luminance0.2057 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A79E1 #E1B24A
analogous
#4AC4E1 #4A79E1 #664AE1
triadic
#4A79E1 #E14A79 #79E14A
tetradic
#4A79E1 #E14AC4 #E1B24A #4AE166
square
#4A79E1 #E14AC4 #E1B24A #4AE166
split-complementary
#4A79E1 #E1664A #C4E14A
monochromatic
#194097 #2257CC #4A79E1 #7EA0EA #B3C7F2

Accessibility & contrast

On white

4.11
#4A79E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#4A79E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A79E1
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A79E1#FFFFFF#000000##000000
##4A79E11.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4485E5
Deuteranopia (green-blind)
#2477DF
Tritanopia (blue-blind)
#0091A2
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4a79e1;
/* rgb */ color: rgb(74, 121, 225);
/* oklch */ color: oklch(59.6% 0.166 263.8);
Tailwind
colors: {
  custom: {
    50: '#8c9feb',
    500: '#4a79e1',
    950: '#000000',
  },
}
SCSS
$custom: #4a79e1;
$custom-light: #8c9feb;
$custom-dark: #000000;
JSON
{
  "hex": "#4a79e1",
  "rgb": {
    "r": 74,
    "g": 121,
    "b": 225
  },
  "hsl": {
    "h": 221.325,
    "s": 71.564,
    "l": 58.627
  },
  "oklch": {
    "l": 0.59624,
    "c": 0.16635,
    "h": 263.8
  },
  "luminance": 0.20567
}

Semantic roles & 50–950 ramp

primary
#4A79E1
secondary
#E1CFA6
accent
#B639EE
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4A79E1

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

Preview Lab → · Contrast checker → · Palette generator →

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