#4A6CED#4A6CED

#4A6CED is a mid, vivid blue. Relative luminance 0.183; OKLCH L 57.9% C 0.198 H 268.4°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#4A6CED
RGBrgb(74, 108, 237)
HSLhsl(227, 82%, 61%)
HSVhsv(227, 69%, 93%)
CMYKcmyk(68.8%, 54.4%, 0%, 7.1%)
CIE-LABlab(49.85, 29.84, -68.72)
CIE-LCHlch(49.85, 74.92, 293.47°)
OKLaboklab(57.88% -0.0056 -0.1978)
OKLCHoklch(57.88% 0.198 268.4)
XYZxyz(23.4674, 18.2931, 82.3985)
Luminance0.1830 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A6CED #EDCB4A
analogous
#4ABDED #4A6CED #794AED
triadic
#4A6CED #ED4A6C #6CED4A
tetradic
#4A6CED #ED4ABD #EDCB4A #4AED79
square
#4A6CED #ED4ABD #EDCB4A #4AED79
split-complementary
#4A6CED #ED794A #BDED4A
monochromatic
#1131AC #1741E3 #4A6CED #8299F3 #B9C6F8

Accessibility & contrast

On white

4.51
#4A6CED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#4A6CED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A6CED
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A6CED#FFFFFF#000000##000000
##4A6CED1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF1
Deuteranopia (green-blind)
#006FEA
Tritanopia (blue-blind)
#008BA2
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4a6ced;
/* rgb */ color: rgb(74, 108, 237);
/* oklch */ color: oklch(57.9% 0.198 268.4);
Tailwind
colors: {
  custom: {
    50: '#8f95f4',
    500: '#4a6ced',
    950: '#000000',
  },
}
SCSS
$custom: #4a6ced;
$custom-light: #8f95f4;
$custom-dark: #000000;
JSON
{
  "hex": "#4a6ced",
  "rgb": {
    "r": 74,
    "g": 108,
    "b": 237
  },
  "hsl": {
    "h": 227.485,
    "s": 81.91,
    "l": 60.98
  },
  "oklch": {
    "l": 0.57884,
    "c": 0.1979,
    "h": 268.4
  },
  "luminance": 0.18295
}

Semantic roles & 50–950 ramp

primary
#4A6CED
secondary
#E8DBAB
accent
#B107DE
background
#F9F9FF
surface
#F2F1FE
border
#CCCBD6
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #4A6CED

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

Preview Lab → · Contrast checker → · Palette generator →

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