#4766D5#4766D5

#4766D5 is a mid, vivid blue. Relative luminance 0.156; OKLCH L 54.8% C 0.174 H 268.4°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#4766D5
RGBrgb(71, 102, 213)
HSLhsl(227, 63%, 56%)
HSVhsv(227, 67%, 84%)
CMYKcmyk(66.7%, 52.1%, 0%, 16.5%)
CIE-LABlab(46.50, 24.75, -60.58)
CIE-LCHlch(46.50, 65.44, 292.22°)
OKLaboklab(54.8% -0.0049 -0.174)
OKLCHoklch(54.8% 0.174 268.4)
XYZxyz(19.3560, 15.6446, 64.9375)
Luminance0.1565 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4766D5 #D5B647
analogous
#47ADD5 #4766D5 #6F47D5
triadic
#4766D5 #D54766 #66D547
tetradic
#4766D5 #D547AD #D5B647 #47D56F
square
#4766D5 #D547AD #D5B647 #47D56F
split-complementary
#4766D5 #D56F47 #ADD547
monochromatic
#1E3484 #2948B5 #4766D5 #798FE0 #ABB9EC

Accessibility & contrast

On white

5.09
#4766D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#4766D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4766D5
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4766D5#FFFFFF#000000##FFFFFF
##4766D51.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E75D9
Deuteranopia (green-blind)
#0068D3
Tritanopia (blue-blind)
#008094
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4766d5;
/* rgb */ color: rgb(71, 102, 213);
/* oklch */ color: oklch(54.8% 0.174 268.4);
Tailwind
colors: {
  custom: {
    50: '#8991e3',
    500: '#4766d5',
    950: '#000000',
  },
}
SCSS
$custom: #4766d5;
$custom-light: #8991e3;
$custom-dark: #000000;
JSON
{
  "hex": "#4766d5",
  "rgb": {
    "r": 71,
    "g": 102,
    "b": 213
  },
  "hsl": {
    "h": 226.901,
    "s": 62.832,
    "l": 55.686
  },
  "oklch": {
    "l": 0.54799,
    "c": 0.17408,
    "h": 268.4
  },
  "luminance": 0.15646
}

Semantic roles & 50–950 ramp

primary
#4766D5
secondary
#D9CD9E
accent
#C242E6
background
#F9F8FE
surface
#F1F0FC
border
#CBCBD5
text
#0D0C15
muted
#7E7D84

Preview Lab

Preview with #4766D5

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

Preview Lab → · Contrast checker → · Palette generator →

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