#4768D4#4768D4

#4768D4 is a mid, vivid blue. Relative luminance 0.160; OKLCH L 55.1% C 0.170 H 267.7°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#4768D4
RGBrgb(71, 104, 212)
HSLhsl(226, 62%, 55%)
HSVhsv(226, 67%, 83%)
CMYKcmyk(66.5%, 50.9%, 0%, 16.9%)
CIE-LABlab(46.96, 23.14, -59.27)
CIE-LCHlch(46.96, 63.63, 291.33°)
OKLaboklab(55.13% -0.0068 -0.1701)
OKLCHoklch(55.13% 0.17 267.7)
XYZxyz(19.4284, 15.9918, 64.3374)
Luminance0.1599 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4768D4 #D4B347
analogous
#47AFD4 #4768D4 #6C47D4
triadic
#4768D4 #D44768 #68D447
tetradic
#4768D4 #D447AF #D4B347 #47D46C
square
#4768D4 #D447AF #D4B347 #47D46C
split-complementary
#4768D4 #D46C47 #AFD447
monochromatic
#1E3682 #2A4AB4 #4768D4 #7991E0 #AAB9EB

Accessibility & contrast

On white

5.00
#4768D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#4768D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4768D4
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4768D4#FFFFFF#000000##FFFFFF
##4768D41.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2776D8
Deuteranopia (green-blind)
#0069D2
Tritanopia (blue-blind)
#008194
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4768d4;
/* rgb */ color: rgb(71, 104, 212);
/* oklch */ color: oklch(55.1% 0.170 267.7);
Tailwind
colors: {
  custom: {
    50: '#8992e2',
    500: '#4768d4',
    950: '#000000',
  },
}
SCSS
$custom: #4768d4;
$custom-light: #8992e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4768d4",
  "rgb": {
    "r": 71,
    "g": 104,
    "b": 212
  },
  "hsl": {
    "h": 225.957,
    "s": 62.115,
    "l": 55.49
  },
  "oklch": {
    "l": 0.55125,
    "c": 0.17026,
    "h": 267.7
  },
  "luminance": 0.15994
}

Semantic roles & 50–950 ramp

primary
#4768D4
secondary
#D9CB9E
accent
#BF43E5
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0D15
muted
#7E7D83

Preview Lab

Preview with #4768D4

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

Preview Lab → · Contrast checker → · Palette generator →

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