#4A6CE7#4A6CE7

#4A6CE7 is a mid, vivid blue. Relative luminance 0.179; OKLCH L 57.4% C 0.190 H 268.2°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#4A6CE7
RGBrgb(74, 108, 231)
HSLhsl(227, 77%, 60%)
HSVhsv(227, 68%, 91%)
CMYKcmyk(68%, 53.2%, 0%, 9.4%)
CIE-LABlab(49.43, 27.75, -66.03)
CIE-LCHlch(49.43, 71.62, 292.79°)
OKLaboklab(57.44% -0.0059 -0.1899)
OKLCHoklch(57.44% 0.19 268.2)
XYZxyz(22.6054, 17.9483, 77.8589)
Luminance0.1795 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A6CE7 #E7C54A
analogous
#4ABBE7 #4A6CE7 #764AE7
triadic
#4A6CE7 #E74A6C #6CE74A
tetradic
#4A6CE7 #E74ABB #E7C54A #4AE776
square
#4A6CE7 #E74ABB #E7C54A #4AE776
split-complementary
#4A6CE7 #E7764A #BBE74A
monochromatic
#1534A1 #1D45D7 #4A6CE7 #8098EE #B6C4F5

Accessibility & contrast

On white

4.58
#4A6CE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#4A6CE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A6CE7
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A6CE7#FFFFFF#000000##000000
##4A6CE71.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0E7DEB
Deuteranopia (green-blind)
#006FE5
Tritanopia (blue-blind)
#008A9F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4a6ce7;
/* rgb */ color: rgb(74, 108, 231);
/* oklch */ color: oklch(57.4% 0.190 268.2);
Tailwind
colors: {
  custom: {
    50: '#8e95ef',
    500: '#4a6ce7',
    950: '#000000',
  },
}
SCSS
$custom: #4a6ce7;
$custom-light: #8e95ef;
$custom-dark: #000000;
JSON
{
  "hex": "#4a6ce7",
  "rgb": {
    "r": 74,
    "g": 108,
    "b": 231
  },
  "hsl": {
    "h": 227.006,
    "s": 76.585,
    "l": 59.804
  },
  "oklch": {
    "l": 0.57439,
    "c": 0.18999,
    "h": 268.2
  },
  "luminance": 0.1795
}

Semantic roles & 50–950 ramp

primary
#4A6CE7
secondary
#E5D8A8
accent
#CA35F3
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #4A6CE7

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

Preview Lab → · Contrast checker → · Palette generator →

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