#4766D8#4766D8

#4766D8 is a mid, vivid blue. Relative luminance 0.158; OKLCH L 55.0% C 0.178 H 268.5°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#4766D8
RGBrgb(71, 102, 216)
HSLhsl(227, 65%, 56%)
HSVhsv(227, 67%, 85%)
CMYKcmyk(67.1%, 52.8%, 0%, 15.3%)
CIE-LABlab(46.71, 25.81, -61.96)
CIE-LCHlch(46.71, 67.12, 292.61°)
OKLaboklab(55.02% -0.0047 -0.1781)
OKLCHoklch(55.02% 0.178 268.5)
XYZxyz(19.7403, 15.7983, 66.9615)
Luminance0.1580 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4766D8 #D8B947
analogous
#47AFD8 #4766D8 #7147D8
triadic
#4766D8 #D84766 #66D847
tetradic
#4766D8 #D847AF #D8B947 #47D871
square
#4766D8 #D847AF #D8B947 #47D871
split-complementary
#4766D8 #D87147 #AFD847
monochromatic
#1D3488 #2747BA #4766D8 #7990E3 #ACBAED

Accessibility & contrast

On white

5.05
#4766D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#4766D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4766D8
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4766D8#FFFFFF#000000##FFFFFF
##4766D81.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1776DC
Deuteranopia (green-blind)
#0068D6
Tritanopia (blue-blind)
#008195
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4766d8;
/* rgb */ color: rgb(71, 102, 216);
/* oklch */ color: oklch(55.0% 0.178 268.5);
Tailwind
colors: {
  custom: {
    50: '#8a91e5',
    500: '#4766d8',
    950: '#000000',
  },
}
SCSS
$custom: #4766d8;
$custom-light: #8a91e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4766d8",
  "rgb": {
    "r": 71,
    "g": 102,
    "b": 216
  },
  "hsl": {
    "h": 227.172,
    "s": 65.022,
    "l": 56.275
  },
  "oklch": {
    "l": 0.55018,
    "c": 0.17813,
    "h": 268.5
  },
  "luminance": 0.158
}

Semantic roles & 50–950 ramp

primary
#4766D8
secondary
#DBCEA0
accent
#C440E8
background
#F9F8FE
surface
#F1F0FC
border
#CBCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4766D8

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

Preview Lab → · Contrast checker → · Palette generator →

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