#4A4FAC#4A4FAC

#4A4FAC is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.5% C 0.146 H 277.0°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#4A4FAC
RGBrgb(74, 79, 172)
HSLhsl(237, 40%, 48%)
HSVhsv(237, 57%, 67%)
CMYKcmyk(57%, 54.1%, 0%, 32.5%)
CIE-LABlab(37.89, 25.76, -50.65)
CIE-LCHlch(37.89, 56.82, 296.96°)
OKLaboklab(47.47% 0.0177 -0.145)
OKLCHoklch(47.47% 0.146 277)
XYZxyz(13.0640, 10.0255, 40.2684)
Luminance0.1003 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4FAC #ACA74A
analogous
#4A80AC #4A4FAC #764AAC
triadic
#4A4FAC #AC4A4F #4FAC4A
tetradic
#4A4FAC #AC4A80 #ACA74A #4AAC76
square
#4A4FAC #AC4A80 #ACA74A #4AAC76
split-complementary
#4A4FAC #AC764A #80AC4A
monochromatic
#252856 #383B81 #4A4FAC #7175C2 #9C9FD4

Accessibility & contrast

On white

6.99
#4A4FAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#4A4FAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A4FAC
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4FAC#FFFFFF#000000##FFFFFF
##4A4FAC1.006.993.016.99
#FFFFFF6.991.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#165DAF
Deuteranopia (green-blind)
#0055AA
Tritanopia (blue-blind)
#126476
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4a4fac;
/* rgb */ color: rgb(74, 79, 172);
/* oklch */ color: oklch(47.5% 0.146 277.0);
Tailwind
colors: {
  custom: {
    50: '#8580c5',
    500: '#4a4fac',
    950: '#000000',
  },
}
SCSS
$custom: #4a4fac;
$custom-light: #8580c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4fac",
  "rgb": {
    "r": 74,
    "g": 79,
    "b": 172
  },
  "hsl": {
    "h": 236.939,
    "s": 39.837,
    "l": 48.235
  },
  "oklch": {
    "l": 0.4747,
    "c": 0.14607,
    "h": 277
  },
  "luminance": 0.10026
}

Semantic roles & 50–950 ramp

primary
#4A4FAC
secondary
#C1BE91
accent
#CA58D0
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #4A4FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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