#4766DC#4766DC

#4766DC is a mid, vivid blue. Relative luminance 0.160; OKLCH L 55.3% C 0.183 H 268.6°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#4766DC
RGBrgb(71, 102, 220)
HSLhsl(228, 68%, 57%)
HSVhsv(228, 68%, 86%)
CMYKcmyk(67.7%, 53.6%, 0%, 13.7%)
CIE-LABlab(46.98, 27.21, -63.79)
CIE-LCHlch(46.98, 69.35, 293.10°)
OKLaboklab(55.31% -0.0044 -0.1834)
OKLCHoklch(55.31% 0.184 268.6)
XYZxyz(20.2637, 16.0077, 69.7182)
Luminance0.1601 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4766DC #DCBD47
analogous
#47B0DC #4766DC #7347DC
triadic
#4766DC #DC4766 #66DC47
tetradic
#4766DC #DC47B0 #DCBD47 #47DC73
square
#4766DC #DC47B0 #DCBD47 #47DC73
split-complementary
#4766DC #DC7347 #B0DC47
monochromatic
#1B338E #2545C1 #4766DC #7A91E6 #AEBCF0

Accessibility & contrast

On white

5.00
#4766DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#4766DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4766DC
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4766DC#FFFFFF#000000##FFFFFF
##4766DC1.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)
#0976E0
Deuteranopia (green-blind)
#0069DA
Tritanopia (blue-blind)
#008297
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4766dc;
/* rgb */ color: rgb(71, 102, 220);
/* oklch */ color: oklch(55.3% 0.183 268.6);
Tailwind
colors: {
  custom: {
    50: '#8b91e8',
    500: '#4766dc',
    950: '#000000',
  },
}
SCSS
$custom: #4766dc;
$custom-light: #8b91e8;
$custom-dark: #000000;
JSON
{
  "hex": "#4766dc",
  "rgb": {
    "r": 71,
    "g": 102,
    "b": 220
  },
  "hsl": {
    "h": 227.517,
    "s": 68.037,
    "l": 57.059
  },
  "oklch": {
    "l": 0.55313,
    "c": 0.1835,
    "h": 268.6
  },
  "luminance": 0.1601
}

Semantic roles & 50–950 ramp

primary
#4766DC
secondary
#DED1A1
accent
#C73DEB
background
#F9F8FE
surface
#F1F0FD
border
#CBCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4766DC

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

Preview Lab → · Contrast checker → · Palette generator →

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