#4A79EF#4A79EF

#4A79EF is a mid, vivid blue. Relative luminance 0.214; OKLCH L 60.6% C 0.185 H 265.0°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#4A79EF
RGBrgb(74, 121, 239)
HSLhsl(223, 84%, 61%)
HSVhsv(223, 69%, 94%)
CMYKcmyk(69%, 49.4%, 0%, 6.3%)
CIE-LABlab(53.34, 22.48, -64.19)
CIE-LCHlch(53.34, 68.02, 289.30°)
OKLaboklab(60.57% -0.0161 -0.1843)
OKLCHoklch(60.57% 0.185 265)
XYZxyz(25.2359, 21.3600, 84.4375)
Luminance0.2136 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A79EF #EFC04A
analogous
#4ACCEF #4A79EF #6E4AEF
triadic
#4A79EF #EF4A79 #79EF4A
tetradic
#4A79EF #EF4ACC #EFC04A #4AEF6E
square
#4A79EF #EF4ACC #EFC04A #4AEF6E
split-complementary
#4A79EF #EF6E4A #CCEF4A
monochromatic
#0F3DAF #1451E7 #4A79EF #82A3F4 #BACCF9

Accessibility & contrast

On white

3.98
#4A79EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#4A79EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A79EF
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A79EF#FFFFFF#000000##000000
##4A79EF1.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3487F3
Deuteranopia (green-blind)
#0078ED
Tritanopia (blue-blind)
#0095A9
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4a79ef;
/* rgb */ color: rgb(74, 121, 239);
/* oklch */ color: oklch(60.6% 0.185 265.0);
Tailwind
colors: {
  custom: {
    50: '#8f9ff5',
    500: '#4a79ef',
    950: '#000000',
  },
}
SCSS
$custom: #4a79ef;
$custom-light: #8f9ff5;
$custom-dark: #000000;
JSON
{
  "hex": "#4a79ef",
  "rgb": {
    "r": 74,
    "g": 121,
    "b": 239
  },
  "hsl": {
    "h": 222.909,
    "s": 83.756,
    "l": 61.373
  },
  "oklch": {
    "l": 0.60569,
    "c": 0.185,
    "h": 265
  },
  "luminance": 0.21363
}

Semantic roles & 50–950 ramp

primary
#4A79EF
secondary
#E9D8AC
accent
#A205E0
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4A79EF

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

Preview Lab → · Contrast checker → · Palette generator →

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