#4A4FC6#4A4FC6

#4A4FC6 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.5% C 0.182 H 275.7°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#4A4FC6
RGBrgb(74, 79, 198)
HSLhsl(238, 52%, 53%)
HSVhsv(238, 63%, 78%)
CMYKcmyk(62.6%, 60.1%, 0%, 22.4%)
CIE-LABlab(39.79, 34.51, -62.83)
CIE-LCHlch(39.79, 71.69, 298.78°)
OKLaboklab(49.48% 0.018 -0.1808)
OKLCHoklch(49.48% 0.182 275.7)
XYZxyz(15.8097, 11.1237, 54.7291)
Luminance0.1113 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4FC6 #C6C14A
analogous
#4A8DC6 #4A4FC6 #834AC6
triadic
#4A4FC6 #C64A4F #4FC64A
tetradic
#4A4FC6 #C64A8D #C6C14A #4AC683
square
#4A4FC6 #C64A8D #C6C14A #4AC683
split-complementary
#4A4FC6 #C6834A #8DC64A
monochromatic
#242772 #3237A0 #4A4FC6 #797CD5 #A7AAE3

Accessibility & contrast

On white

6.51
#4A4FC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#4A4FC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A4FC6
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4FC6#FFFFFF#000000##FFFFFF
##4A4FC61.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CA
Deuteranopia (green-blind)
#0058C4
Tritanopia (blue-blind)
#006C83
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4a4fc6;
/* rgb */ color: rgb(74, 79, 198);
/* oklch */ color: oklch(49.5% 0.182 275.7);
Tailwind
colors: {
  custom: {
    50: '#8980d8',
    500: '#4a4fc6',
    950: '#000000',
  },
}
SCSS
$custom: #4a4fc6;
$custom-light: #8980d8;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4fc6",
  "rgb": {
    "r": 74,
    "g": 79,
    "b": 198
  },
  "hsl": {
    "h": 237.581,
    "s": 52.101,
    "l": 53.333
  },
  "oklch": {
    "l": 0.49482,
    "c": 0.18171,
    "h": 275.7
  },
  "luminance": 0.11125
}

Semantic roles & 50–950 ramp

primary
#4A4FC6
secondary
#D1CE9B
accent
#D64CDC
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4A4FC6

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

Preview Lab → · Contrast checker → · Palette generator →

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