#4766CE#4766CE

#4766CE is a mid, vivid blue. Relative luminance 0.153; OKLCH L 54.3% C 0.165 H 268.1°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#4766CE
RGBrgb(71, 102, 206)
HSLhsl(226, 58%, 54%)
HSVhsv(226, 66%, 81%)
CMYKcmyk(65.5%, 50.5%, 0%, 19.2%)
CIE-LABlab(46.04, 22.29, -57.33)
CIE-LCHlch(46.04, 61.51, 291.25°)
OKLaboklab(54.3% -0.0056 -0.1645)
OKLCHoklch(54.3% 0.165 268.1)
XYZxyz(18.4867, 15.2968, 60.3589)
Luminance0.1530 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4766CE #CEAF47
analogous
#47AACE #4766CE #6C47CE
triadic
#4766CE #CE4766 #66CE47
tetradic
#4766CE #CE47AA #CEAF47 #47CE6C
square
#4766CE #CE47AA #CEAF47 #47CE6C
split-complementary
#4766CE #CE6C47 #AACE47
monochromatic
#21357A #2D4AAA #4766CE #778EDB #A8B6E8

Accessibility & contrast

On white

5.17
#4766CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#4766CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4766CE
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4766CE#FFFFFF#000000##FFFFFF
##4766CE1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A73D2
Deuteranopia (green-blind)
#0067CC
Tritanopia (blue-blind)
#007E90
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4766ce;
/* rgb */ color: rgb(71, 102, 206);
/* oklch */ color: oklch(54.3% 0.165 268.1);
Tailwind
colors: {
  custom: {
    50: '#8891de',
    500: '#4766ce',
    950: '#000000',
  },
}
SCSS
$custom: #4766ce;
$custom-light: #8891de;
$custom-dark: #000000;
JSON
{
  "hex": "#4766ce",
  "rgb": {
    "r": 71,
    "g": 102,
    "b": 206
  },
  "hsl": {
    "h": 226.222,
    "s": 57.94,
    "l": 54.314
  },
  "oklch": {
    "l": 0.54296,
    "c": 0.16454,
    "h": 268.1
  },
  "luminance": 0.15299
}

Semantic roles & 50–950 ramp

primary
#4766CE
secondary
#D5C89C
accent
#BE47E1
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0D0C15
muted
#7D7D83

Preview Lab

Preview with #4766CE

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

Preview Lab → · Contrast checker → · Palette generator →

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