#4768E2#4768E2

#4768E2 is a mid, vivid blue. Relative luminance 0.167; OKLCH L 56.1% C 0.189 H 268.3°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#4768E2
RGBrgb(71, 104, 226)
HSLhsl(227, 73%, 58%)
HSVhsv(227, 69%, 89%)
CMYKcmyk(68.6%, 54%, 0%, 11.4%)
CIE-LABlab(47.92, 28.07, -65.68)
CIE-LCHlch(47.92, 71.42, 293.14°)
OKLaboklab(56.15% -0.0057 -0.189)
OKLCHoklch(56.15% 0.189 268.3)
XYZxyz(21.2716, 16.7291, 74.0448)
Luminance0.1673 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4768E2 #E2C147
analogous
#47B5E2 #4768E2 #7347E2
triadic
#4768E2 #E24768 #68E247
tetradic
#4768E2 #E247B5 #E2C147 #47E273
square
#4768E2 #E247B5 #E2C147 #47E273
split-complementary
#4768E2 #E27347 #B5E247
monochromatic
#183397 #2045CC #4768E2 #7C93EA #B1BFF3

Accessibility & contrast

On white

4.83
#4768E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#4768E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4768E2
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4768E2#FFFFFF#000000##FFFFFF
##4768E21.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4768e2;
/* rgb */ color: rgb(71, 104, 226);
/* oklch */ color: oklch(56.1% 0.189 268.3);
Tailwind
colors: {
  custom: {
    50: '#8c92ec',
    500: '#4768e2',
    950: '#000000',
  },
}
SCSS
$custom: #4768e2;
$custom-light: #8c92ec;
$custom-dark: #000000;
JSON
{
  "hex": "#4768e2",
  "rgb": {
    "r": 71,
    "g": 104,
    "b": 226
  },
  "hsl": {
    "h": 227.226,
    "s": 72.77,
    "l": 58.235
  },
  "oklch": {
    "l": 0.56148,
    "c": 0.18906,
    "h": 268.3
  },
  "luminance": 0.16731
}

Semantic roles & 50–950 ramp

primary
#4768E2
secondary
#E1D4A4
accent
#C838EF
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0D0D16
muted
#7E7D84

Preview Lab

Preview with #4768E2

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

Preview Lab → · Contrast checker → · Palette generator →

#4768E2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva