#4A68E5#4A68E5

#4A68E5 is a mid, vivid blue. Relative luminance 0.170; OKLCH L 56.5% C 0.192 H 269.2°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#4A68E5
RGBrgb(74, 104, 229)
HSLhsl(228, 75%, 59%)
HSVhsv(228, 68%, 90%)
CMYKcmyk(67.7%, 54.6%, 0%, 10.2%)
CIE-LABlab(48.27, 29.54, -66.78)
CIE-LCHlch(48.27, 73.02, 293.86°)
OKLaboklab(56.52% -0.0028 -0.1922)
OKLCHoklch(56.52% 0.192 269.2)
XYZxyz(21.9124, 17.0115, 76.2423)
Luminance0.1701 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A68E5 #E5C74A
analogous
#4AB6E5 #4A68E5 #7A4AE5
triadic
#4A68E5 #E54A68 #68E54A
tetradic
#4A68E5 #E54AB6 #E5C74A #4AE57A
square
#4A68E5 #E54AB6 #E5C74A #4AE57A
split-complementary
#4A68E5 #E57A4A #B6E54A
monochromatic
#17319E #1E41D3 #4A68E5 #8095ED #B5C1F4

Accessibility & contrast

On white

4.77
#4A68E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#4A68E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A68E5
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A68E5#FFFFFF#000000##FFFFFF
##4A68E51.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AE9
Deuteranopia (green-blind)
#006CE2
Tritanopia (blue-blind)
#00869C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4a68e5;
/* rgb */ color: rgb(74, 104, 229);
/* oklch */ color: oklch(56.5% 0.192 269.2);
Tailwind
colors: {
  custom: {
    50: '#8e92ee',
    500: '#4a68e5',
    950: '#000000',
  },
}
SCSS
$custom: #4a68e5;
$custom-light: #8e92ee;
$custom-dark: #000000;
JSON
{
  "hex": "#4a68e5",
  "rgb": {
    "r": 74,
    "g": 104,
    "b": 229
  },
  "hsl": {
    "h": 228.387,
    "s": 74.879,
    "l": 59.412
  },
  "oklch": {
    "l": 0.56523,
    "c": 0.19218,
    "h": 269.2
  },
  "luminance": 0.17014
}

Semantic roles & 50–950 ramp

primary
#4A68E5
secondary
#E4D8A7
accent
#CD36F1
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0D16
muted
#7E7D84

Preview Lab

Preview with #4A68E5

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

Preview Lab → · Contrast checker → · Palette generator →

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