#4766DF#4766DF

#4766DF is a mid, vivid blue. Relative luminance 0.162; OKLCH L 55.5% C 0.188 H 268.7°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#4766DF
RGBrgb(71, 102, 223)
HSLhsl(228, 70%, 58%)
HSVhsv(228, 68%, 87%)
CMYKcmyk(68.2%, 54.3%, 0%, 12.5%)
CIE-LABlab(47.19, 28.27, -65.15)
CIE-LCHlch(47.19, 71.02, 293.45°)
OKLaboklab(55.54% -0.0042 -0.1874)
OKLCHoklch(55.54% 0.188 268.7)
XYZxyz(20.6646, 16.1680, 71.8294)
Luminance0.1617 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4766DF #DFC047
analogous
#47B2DF #4766DF #7447DF
triadic
#4766DF #DF4766 #66DF47
tetradic
#4766DF #DF47B2 #DFC047 #47DF74
square
#4766DF #DF47B2 #DFC047 #47DF74
split-complementary
#4766DF #DF7447 #B2DF47
monochromatic
#193292 #2244C6 #4766DF #7B91E8 #AFBDF1

Accessibility & contrast

On white

4.96
#4766DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#4766DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4766DF
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4766DF#FFFFFF#000000##FFFFFF
##4766DF1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077E3
Deuteranopia (green-blind)
#0069DD
Tritanopia (blue-blind)
#008399
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4766df;
/* rgb */ color: rgb(71, 102, 223);
/* oklch */ color: oklch(55.5% 0.188 268.7);
Tailwind
colors: {
  custom: {
    50: '#8b91ea',
    500: '#4766df',
    950: '#000000',
  },
}
SCSS
$custom: #4766df;
$custom-light: #8b91ea;
$custom-dark: #000000;
JSON
{
  "hex": "#4766df",
  "rgb": {
    "r": 71,
    "g": 102,
    "b": 223
  },
  "hsl": {
    "h": 227.763,
    "s": 70.37,
    "l": 57.647
  },
  "oklch": {
    "l": 0.55537,
    "c": 0.1875,
    "h": 268.7
  },
  "luminance": 0.1617
}

Semantic roles & 50–950 ramp

primary
#4766DF
secondary
#DFD3A2
accent
#C93BED
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4766DF

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

Preview Lab → · Contrast checker → · Palette generator →

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