#4766D7#4766D7

#4766D7 is a mid, vivid blue. Relative luminance 0.157; OKLCH L 54.9% C 0.177 H 268.5°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#4766D7
RGBrgb(71, 102, 215)
HSLhsl(227, 64%, 56%)
HSVhsv(227, 67%, 84%)
CMYKcmyk(67%, 52.6%, 0%, 15.7%)
CIE-LABlab(46.64, 25.45, -61.50)
CIE-LCHlch(46.64, 66.56, 292.48°)
OKLaboklab(54.94% -0.0048 -0.1767)
OKLCHoklch(54.94% 0.177 268.5)
XYZxyz(19.6114, 15.7468, 66.2827)
Luminance0.1575 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4766D7 #D7B847
analogous
#47AED7 #4766D7 #7047D7
triadic
#4766D7 #D74766 #66D747
tetradic
#4766D7 #D747AE #D7B847 #47D770
square
#4766D7 #D747AE #D7B847 #47D770
split-complementary
#4766D7 #D77047 #AED747
monochromatic
#1D3486 #2847B9 #4766D7 #7990E2 #ACBAED

Accessibility & contrast

On white

5.06
#4766D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#4766D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4766D7
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4766D7#FFFFFF#000000##FFFFFF
##4766D71.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A75DB
Deuteranopia (green-blind)
#0068D5
Tritanopia (blue-blind)
#008195
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4766d7;
/* rgb */ color: rgb(71, 102, 215);
/* oklch */ color: oklch(54.9% 0.177 268.5);
Tailwind
colors: {
  custom: {
    50: '#8a91e4',
    500: '#4766d7',
    950: '#000000',
  },
}
SCSS
$custom: #4766d7;
$custom-light: #8a91e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4766d7",
  "rgb": {
    "r": 71,
    "g": 102,
    "b": 215
  },
  "hsl": {
    "h": 227.083,
    "s": 64.286,
    "l": 56.078
  },
  "oklch": {
    "l": 0.54944,
    "c": 0.17678,
    "h": 268.5
  },
  "luminance": 0.15749
}

Semantic roles & 50–950 ramp

primary
#4766D7
secondary
#DBCE9F
accent
#C341E7
background
#F9F8FE
surface
#F1F0FC
border
#CBCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4766D7

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

Preview Lab → · Contrast checker → · Palette generator →

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