#4A6CE5#4A6CE5

#4A6CE5 is a mid, vivid blue. Relative luminance 0.178; OKLCH L 57.3% C 0.187 H 268.1°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#4A6CE5
RGBrgb(74, 108, 229)
HSLhsl(227, 75%, 59%)
HSVhsv(227, 68%, 90%)
CMYKcmyk(67.7%, 52.8%, 0%, 10.2%)
CIE-LABlab(49.30, 27.05, -65.13)
CIE-LCHlch(49.30, 70.52, 292.55°)
OKLaboklab(57.29% -0.0061 -0.1872)
OKLCHoklch(57.29% 0.187 268.1)
XYZxyz(22.3246, 17.8359, 76.3797)
Luminance0.1784 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A6CE5 #E5C34A
analogous
#4AB9E5 #4A6CE5 #764AE5
triadic
#4A6CE5 #E54A6C #6CE54A
tetradic
#4A6CE5 #E54AB9 #E5C34A #4AE576
square
#4A6CE5 #E54AB9 #E5C34A #4AE576
split-complementary
#4A6CE5 #E5764A #B9E54A
monochromatic
#17349E #1E46D3 #4A6CE5 #8097ED #B5C3F4

Accessibility & contrast

On white

4.60
#4A6CE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#4A6CE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4A6CE5
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A6CE5#FFFFFF#000000##FFFFFF
##4A6CE51.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#157DE9
Deuteranopia (green-blind)
#006EE3
Tritanopia (blue-blind)
#00899E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4a6ce5;
/* rgb */ color: rgb(74, 108, 229);
/* oklch */ color: oklch(57.3% 0.187 268.1);
Tailwind
colors: {
  custom: {
    50: '#8d95ee',
    500: '#4a6ce5',
    950: '#000000',
  },
}
SCSS
$custom: #4a6ce5;
$custom-light: #8d95ee;
$custom-dark: #000000;
JSON
{
  "hex": "#4a6ce5",
  "rgb": {
    "r": 74,
    "g": 108,
    "b": 229
  },
  "hsl": {
    "h": 226.839,
    "s": 74.879,
    "l": 59.412
  },
  "oklch": {
    "l": 0.57292,
    "c": 0.18734,
    "h": 268.1
  },
  "luminance": 0.17838
}

Semantic roles & 50–950 ramp

primary
#4A6CE5
secondary
#E4D6A7
accent
#C836F1
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #4A6CE5

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

Preview Lab → · Contrast checker → · Palette generator →

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