#4A4FDF#4A4FDF

#4A4FDF is a mid, highly saturated blue. Relative luminance 0.124; OKLCH L 51.6% C 0.214 H 274.4°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#4A4FDF
RGBrgb(74, 79, 223)
HSLhsl(238, 70%, 58%)
HSVhsv(238, 67%, 87%)
CMYKcmyk(66.8%, 64.6%, 0%, 12.5%)
CIE-LABlab(41.80, 42.86, -73.92)
CIE-LCHlch(41.80, 85.45, 300.11°)
OKLaboklab(51.59% 0.0166 -0.2134)
OKLCHoklch(51.59% 0.214 274.4)
XYZxyz(18.9349, 12.3738, 71.1883)
Luminance0.1238 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4FDF #DFDA4A
analogous
#4A99DF #4A4FDF #904ADF
triadic
#4A4FDF #DF4A4F #4FDF4A
tetradic
#4A4FDF #DF4A99 #DFDA4A #4ADF90
square
#4A4FDF #DF4A99 #DFDA4A #4ADF90
split-complementary
#4A4FDF #DF904A #99DF4A
monochromatic
#1A1E94 #2329C8 #4A4FDF #7E82E8 #B2B4F1

Accessibility & contrast

On white

6.04
#4A4FDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#4A4FDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A4FDF
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4FDF#FFFFFF#000000##FFFFFF
##4A4FDF1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E4
Deuteranopia (green-blind)
#005CDC
Tritanopia (blue-blind)
#007590
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4a4fdf;
/* rgb */ color: rgb(74, 79, 223);
/* oklch */ color: oklch(51.6% 0.214 274.4);
Tailwind
colors: {
  custom: {
    50: '#8e81ea',
    500: '#4a4fdf',
    950: '#000000',
  },
}
SCSS
$custom: #4a4fdf;
$custom-light: #8e81ea;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4fdf",
  "rgb": {
    "r": 74,
    "g": 79,
    "b": 223
  },
  "hsl": {
    "h": 237.987,
    "s": 69.953,
    "l": 58.235
  },
  "oklch": {
    "l": 0.51587,
    "c": 0.21401,
    "h": 274.4
  },
  "luminance": 0.12376
}

Semantic roles & 50–950 ramp

primary
#4A4FDF
secondary
#E0DEA5
accent
#E73BED
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4A4FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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