#4A6FED#4A6FED

#4A6FED is a mid, vivid blue. Relative luminance 0.189; OKLCH L 58.5% C 0.194 H 267.6°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#4A6FED
RGBrgb(74, 111, 237)
HSLhsl(226, 82%, 61%)
HSVhsv(226, 69%, 93%)
CMYKcmyk(68.8%, 53.2%, 0%, 7.1%)
CIE-LABlab(50.61, 27.98, -67.49)
CIE-LCHlch(50.61, 73.05, 292.52°)
OKLaboklab(58.46% -0.008 -0.1941)
OKLCHoklch(58.46% 0.194 267.6)
XYZxyz(23.7893, 18.9368, 82.5058)
Luminance0.1894 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A6FED #EDC84A
analogous
#4AC1ED #4A6FED #764AED
triadic
#4A6FED #ED4A6F #6FED4A
tetradic
#4A6FED #ED4AC1 #EDC84A #4AED76
square
#4A6FED #ED4AC1 #EDC84A #4AED76
split-complementary
#4A6FED #ED764A #C1ED4A
monochromatic
#1134AC #1745E3 #4A6FED #829BF3 #B9C8F8

Accessibility & contrast

On white

4.39
#4A6FED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#4A6FED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A6FED
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A6FED#FFFFFF#000000##000000
##4A6FED1.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0E80F1
Deuteranopia (green-blind)
#0071EA
Tritanopia (blue-blind)
#008DA3
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4a6fed;
/* rgb */ color: rgb(74, 111, 237);
/* oklch */ color: oklch(58.5% 0.194 267.6);
Tailwind
colors: {
  custom: {
    50: '#8f97f4',
    500: '#4a6fed',
    950: '#000000',
  },
}
SCSS
$custom: #4a6fed;
$custom-light: #8f97f4;
$custom-dark: #000000;
JSON
{
  "hex": "#4a6fed",
  "rgb": {
    "r": 74,
    "g": 111,
    "b": 237
  },
  "hsl": {
    "h": 226.38,
    "s": 81.91,
    "l": 60.98
  },
  "oklch": {
    "l": 0.58459,
    "c": 0.1943,
    "h": 267.6
  },
  "luminance": 0.18939
}

Semantic roles & 50–950 ramp

primary
#4A6FED
secondary
#E8DAAB
accent
#AD07DE
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #4A6FED

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

Preview Lab → · Contrast checker → · Palette generator →

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