#4766DE#4766DE

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

Color values

HEX#4766DE
RGBrgb(71, 102, 222)
HSLhsl(228, 70%, 57%)
HSVhsv(228, 68%, 87%)
CMYKcmyk(68%, 54.1%, 0%, 12.9%)
CIE-LABlab(47.12, 27.91, -64.70)
CIE-LCHlch(47.12, 70.46, 293.34°)
OKLaboklab(55.46% -0.0043 -0.1861)
OKLCHoklch(55.46% 0.186 268.7)
XYZxyz(20.5302, 16.1143, 71.1215)
Luminance0.1612 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4766DE #DEBF47
analogous
#47B2DE #4766DE #7347DE
triadic
#4766DE #DE4766 #66DE47
tetradic
#4766DE #DE47B2 #DEBF47 #47DE73
square
#4766DE #DE47B2 #DEBF47 #47DE73
split-complementary
#4766DE #DE7347 #B2DE47
monochromatic
#1A3291 #2344C5 #4766DE #7B91E7 #AFBCF1

Accessibility & contrast

On white

4.97
#4766DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#4766DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4766DE
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4766DE#FFFFFF#000000##FFFFFF
##4766DE1.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077E2
Deuteranopia (green-blind)
#0069DC
Tritanopia (blue-blind)
#008398
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4766de;
/* rgb */ color: rgb(71, 102, 222);
/* oklch */ color: oklch(55.5% 0.186 268.7);
Tailwind
colors: {
  custom: {
    50: '#8b91e9',
    500: '#4766de',
    950: '#000000',
  },
}
SCSS
$custom: #4766de;
$custom-light: #8b91e9;
$custom-dark: #000000;
JSON
{
  "hex": "#4766de",
  "rgb": {
    "r": 71,
    "g": 102,
    "b": 222
  },
  "hsl": {
    "h": 227.682,
    "s": 69.585,
    "l": 57.451
  },
  "oklch": {
    "l": 0.55462,
    "c": 0.18617,
    "h": 268.7
  },
  "luminance": 0.16116
}

Semantic roles & 50–950 ramp

primary
#4766DE
secondary
#DFD2A2
accent
#C83BEC
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4766DE

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

Preview Lab → · Contrast checker → · Palette generator →

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