#4A4FE6#4A4FE6

#4A4FE6 is a mid, highly saturated blue. Relative luminance 0.128; OKLCH L 52.2% C 0.223 H 274.1°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#4A4FE6
RGBrgb(74, 79, 230)
HSLhsl(238, 76%, 60%)
HSVhsv(238, 68%, 90%)
CMYKcmyk(67.8%, 65.7%, 0%, 9.8%)
CIE-LABlab(42.40, 45.17, -76.93)
CIE-LCHlch(42.40, 89.21, 300.42°)
OKLaboklab(52.2% 0.016 -0.2222)
OKLCHoklch(52.2% 0.223 274.1)
XYZxyz(19.8982, 12.7591, 76.2617)
Luminance0.1276 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4FE6 #E6E14A
analogous
#4A9DE6 #4A4FE6 #934AE6
triadic
#4A4FE6 #E64A4F #4FE64A
tetradic
#4A4FE6 #E64A9D #E6E14A #4AE693
square
#4A4FE6 #E64A9D #E6E14A #4AE693
split-complementary
#4A4FE6 #E6934A #9DE64A
monochromatic
#161AA0 #1D23D5 #4A4FE6 #8083ED #B6B8F5

Accessibility & contrast

On white

5.91
#4A4FE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#4A4FE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A4FE6
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4FE6#FFFFFF#000000##FFFFFF
##4A4FE61.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BEB
Deuteranopia (green-blind)
#005DE3
Tritanopia (blue-blind)
#007794
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4a4fe6;
/* rgb */ color: rgb(74, 79, 230);
/* oklch */ color: oklch(52.2% 0.223 274.1);
Tailwind
colors: {
  custom: {
    50: '#9081ef',
    500: '#4a4fe6',
    950: '#000000',
  },
}
SCSS
$custom: #4a4fe6;
$custom-light: #9081ef;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4fe6",
  "rgb": {
    "r": 74,
    "g": 79,
    "b": 230
  },
  "hsl": {
    "h": 238.077,
    "s": 75.728,
    "l": 59.608
  },
  "oklch": {
    "l": 0.52202,
    "c": 0.22274,
    "h": 274.1
  },
  "luminance": 0.12761
}

Semantic roles & 50–950 ramp

primary
#4A4FE6
secondary
#E4E2A8
accent
#EC35F2
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A17
muted
#7E7C85

Preview Lab

Preview with #4A4FE6

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

Preview Lab → · Contrast checker → · Palette generator →

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