#4766D4#4766D4

#4766D4 is a mid, vivid blue. Relative luminance 0.156; OKLCH L 54.7% C 0.173 H 268.3°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#4766D4
RGBrgb(71, 102, 212)
HSLhsl(227, 62%, 55%)
HSVhsv(227, 67%, 83%)
CMYKcmyk(66.5%, 51.9%, 0%, 16.9%)
CIE-LABlab(46.44, 24.40, -60.12)
CIE-LCHlch(46.44, 64.88, 292.09°)
OKLaboklab(54.73% -0.005 -0.1726)
OKLCHoklch(54.73% 0.173 268.3)
XYZxyz(19.2295, 15.5940, 64.2711)
Luminance0.1560 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4766D4 #D4B547
analogous
#47ACD4 #4766D4 #6F47D4
triadic
#4766D4 #D44766 #66D447
tetradic
#4766D4 #D447AC #D4B547 #47D46F
square
#4766D4 #D447AC #D4B547 #47D46F
split-complementary
#4766D4 #D46F47 #ACD447
monochromatic
#1E3482 #2A48B4 #4766D4 #798FE0 #AAB8EB

Accessibility & contrast

On white

5.10
#4766D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#4766D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4766D4
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4766D4#FFFFFF#000000##FFFFFF
##4766D41.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2075D8
Deuteranopia (green-blind)
#0068D2
Tritanopia (blue-blind)
#008093
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4766d4;
/* rgb */ color: rgb(71, 102, 212);
/* oklch */ color: oklch(54.7% 0.173 268.3);
Tailwind
colors: {
  custom: {
    50: '#8991e2',
    500: '#4766d4',
    950: '#000000',
  },
}
SCSS
$custom: #4766d4;
$custom-light: #8991e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4766d4",
  "rgb": {
    "r": 71,
    "g": 102,
    "b": 212
  },
  "hsl": {
    "h": 226.809,
    "s": 62.115,
    "l": 55.49
  },
  "oklch": {
    "l": 0.54726,
    "c": 0.17272,
    "h": 268.3
  },
  "luminance": 0.15596
}

Semantic roles & 50–950 ramp

primary
#4766D4
secondary
#D9CC9E
accent
#C143E5
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4766D4

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

Preview Lab → · Contrast checker → · Palette generator →

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