#4C68E2#4C68E2

#4C68E2 is a mid, vivid blue. Relative luminance 0.169; OKLCH L 56.4% C 0.188 H 269.7°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#4C68E2
RGBrgb(76, 104, 226)
HSLhsl(229, 72%, 59%)
HSVhsv(229, 66%, 89%)
CMYKcmyk(66.4%, 54%, 0%, 11.4%)
CIE-LABlab(48.17, 28.79, -65.26)
CIE-LCHlch(48.17, 71.33, 293.81°)
OKLaboklab(56.4% -0.001 -0.1876)
OKLCHoklch(56.4% 0.188 269.7)
XYZxyz(21.6536, 16.9261, 74.0627)
Luminance0.1693 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C68E2 #E2C64C
analogous
#4CB3E2 #4C68E2 #7B4CE2
triadic
#4C68E2 #E24C68 #68E24C
tetradic
#4C68E2 #E24CB3 #E2C64C #4CE27B
square
#4C68E2 #E24CB3 #E2C64C #4CE27B
split-complementary
#4C68E2 #E27B4C #B3E24C
monochromatic
#19319B #2242CF #4C68E2 #8194EB #B5C1F3

Accessibility & contrast

On white

4.79
#4C68E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#4C68E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C68E2
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C68E2#FFFFFF#000000##FFFFFF
##4C68E21.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0379E6
Deuteranopia (green-blind)
#006CE0
Tritanopia (blue-blind)
#00859B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4c68e2;
/* rgb */ color: rgb(76, 104, 226);
/* oklch */ color: oklch(56.4% 0.188 269.7);
Tailwind
colors: {
  custom: {
    50: '#8e92ec',
    500: '#4c68e2',
    950: '#000000',
  },
}
SCSS
$custom: #4c68e2;
$custom-light: #8e92ec;
$custom-dark: #000000;
JSON
{
  "hex": "#4c68e2",
  "rgb": {
    "r": 76,
    "g": 104,
    "b": 226
  },
  "hsl": {
    "h": 228.8,
    "s": 72.115,
    "l": 59.216
  },
  "oklch": {
    "l": 0.56403,
    "c": 0.18764,
    "h": 269.7
  },
  "luminance": 0.16928
}

Semantic roles & 50–950 ramp

primary
#4C68E2
secondary
#E2D7A8
accent
#CD39EF
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0D16
muted
#7E7D84

Preview Lab

Preview with #4C68E2

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

Preview Lab → · Contrast checker → · Palette generator →

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