#4766D2#4766D2

#4766D2 is a mid, vivid blue. Relative luminance 0.155; OKLCH L 54.6% C 0.170 H 268.3°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#4766D2
RGBrgb(71, 102, 210)
HSLhsl(227, 61%, 55%)
HSVhsv(227, 66%, 82%)
CMYKcmyk(66.2%, 51.4%, 0%, 17.6%)
CIE-LABlab(46.30, 23.70, -59.19)
CIE-LCHlch(46.30, 63.76, 291.82°)
OKLaboklab(54.58% -0.0052 -0.1699)
OKLCHoklch(54.58% 0.17 268.3)
XYZxyz(18.9788, 15.4937, 62.9507)
Luminance0.1550 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4766D2 #D2B347
analogous
#47ABD2 #4766D2 #6E47D2
triadic
#4766D2 #D24766 #66D247
tetradic
#4766D2 #D247AB #D2B347 #47D26E
square
#4766D2 #D247AB #D2B347 #47D26E
split-complementary
#4766D2 #D26E47 #ABD247
monochromatic
#1F357F #2B49B1 #4766D2 #788FDE #A9B8EA

Accessibility & contrast

On white

5.12
#4766D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#4766D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4766D2
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4766D2#FFFFFF#000000##FFFFFF
##4766D21.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2474D6
Deuteranopia (green-blind)
#0068D0
Tritanopia (blue-blind)
#007F92
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4766d2;
/* rgb */ color: rgb(71, 102, 210);
/* oklch */ color: oklch(54.6% 0.170 268.3);
Tailwind
colors: {
  custom: {
    50: '#8991e0',
    500: '#4766d2',
    950: '#000000',
  },
}
SCSS
$custom: #4766d2;
$custom-light: #8991e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4766d2",
  "rgb": {
    "r": 71,
    "g": 102,
    "b": 210
  },
  "hsl": {
    "h": 226.619,
    "s": 60.699,
    "l": 55.098
  },
  "oklch": {
    "l": 0.54582,
    "c": 0.17001,
    "h": 268.3
  },
  "luminance": 0.15495
}

Semantic roles & 50–950 ramp

primary
#4766D2
secondary
#D8CB9D
accent
#C044E4
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4766D2

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

Preview Lab → · Contrast checker → · Palette generator →

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