#4A66E5#4A66E5

#4A66E5 is a mid, vivid blue. Relative luminance 0.166; OKLCH L 56.1% C 0.195 H 269.7°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#4A66E5
RGBrgb(74, 102, 229)
HSLhsl(229, 75%, 59%)
HSVhsv(229, 68%, 90%)
CMYKcmyk(67.7%, 55.5%, 0%, 10.2%)
CIE-LABlab(47.77, 30.79, -67.60)
CIE-LCHlch(47.77, 74.28, 294.49°)
OKLaboklab(56.14% -0.0011 -0.1946)
OKLCHoklch(56.14% 0.195 269.7)
XYZxyz(21.7134, 16.6136, 76.1760)
Luminance0.1662 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A66E5 #E5C94A
analogous
#4AB4E5 #4A66E5 #7C4AE5
triadic
#4A66E5 #E54A66 #66E54A
tetradic
#4A66E5 #E54AB4 #E5C94A #4AE57C
square
#4A66E5 #E54AB4 #E5C94A #4AE57C
split-complementary
#4A66E5 #E57C4A #B4E54A
monochromatic
#172F9E #1E3FD3 #4A66E5 #8093ED #B5C0F4

Accessibility & contrast

On white

4.86
#4A66E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#4A66E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A66E5
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A66E5#FFFFFF#000000##FFFFFF
##4A66E51.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079E9
Deuteranopia (green-blind)
#006BE2
Tritanopia (blue-blind)
#00859C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4a66e5;
/* rgb */ color: rgb(74, 102, 229);
/* oklch */ color: oklch(56.1% 0.195 269.7);
Tailwind
colors: {
  custom: {
    50: '#8e91ee',
    500: '#4a66e5',
    950: '#000000',
  },
}
SCSS
$custom: #4a66e5;
$custom-light: #8e91ee;
$custom-dark: #000000;
JSON
{
  "hex": "#4a66e5",
  "rgb": {
    "r": 74,
    "g": 102,
    "b": 229
  },
  "hsl": {
    "h": 229.161,
    "s": 74.879,
    "l": 59.412
  },
  "oklch": {
    "l": 0.56144,
    "c": 0.1946,
    "h": 269.7
  },
  "luminance": 0.16616
}

Semantic roles & 50–950 ramp

primary
#4A66E5
secondary
#E4D9A7
accent
#D036F1
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #4A66E5

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

Preview Lab → · Contrast checker → · Palette generator →

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