#4A6BE5#4A6BE5

#4A6BE5 is a mid, vivid blue. Relative luminance 0.176; OKLCH L 57.1% C 0.189 H 268.4°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#4A6BE5
RGBrgb(74, 107, 229)
HSLhsl(227, 75%, 59%)
HSVhsv(227, 68%, 90%)
CMYKcmyk(67.7%, 53.3%, 0%, 10.2%)
CIE-LABlab(49.04, 27.67, -65.54)
CIE-LCHlch(49.04, 71.14, 292.89°)
OKLaboklab(57.1% -0.0052 -0.1885)
OKLCHoklch(57.1% 0.189 268.4)
XYZxyz(22.2197, 17.6262, 76.3448)
Luminance0.1763 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A6BE5 #E5C44A
analogous
#4AB8E5 #4A6BE5 #774AE5
triadic
#4A6BE5 #E54A6B #6BE54A
tetradic
#4A6BE5 #E54AB8 #E5C44A #4AE577
square
#4A6BE5 #E54AB8 #E5C44A #4AE577
split-complementary
#4A6BE5 #E5774A #B8E54A
monochromatic
#17339E #1E45D3 #4A6BE5 #8097ED #B5C3F4

Accessibility & contrast

On white

4.64
#4A6BE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#4A6BE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4A6BE5
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A6BE5#FFFFFF#000000##FFFFFF
##4A6BE51.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F7CE9
Deuteranopia (green-blind)
#006EE3
Tritanopia (blue-blind)
#00889E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4a6be5;
/* rgb */ color: rgb(74, 107, 229);
/* oklch */ color: oklch(57.1% 0.189 268.4);
Tailwind
colors: {
  custom: {
    50: '#8e94ee',
    500: '#4a6be5',
    950: '#000000',
  },
}
SCSS
$custom: #4a6be5;
$custom-light: #8e94ee;
$custom-dark: #000000;
JSON
{
  "hex": "#4a6be5",
  "rgb": {
    "r": 74,
    "g": 107,
    "b": 229
  },
  "hsl": {
    "h": 227.226,
    "s": 74.879,
    "l": 59.412
  },
  "oklch": {
    "l": 0.57099,
    "c": 0.18854,
    "h": 268.4
  },
  "luminance": 0.17628
}

Semantic roles & 50–950 ramp

primary
#4A6BE5
secondary
#E4D7A7
accent
#CA36F1
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #4A6BE5

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

Preview Lab → · Contrast checker → · Palette generator →

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