#4766CD#4766CD

#4766CD is a mid, vivid blue. Relative luminance 0.152; OKLCH L 54.2% C 0.163 H 268.0°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#4766CD
RGBrgb(71, 102, 205)
HSLhsl(226, 57%, 54%)
HSVhsv(226, 65%, 80%)
CMYKcmyk(65.4%, 50.2%, 0%, 19.6%)
CIE-LABlab(45.97, 21.94, -56.86)
CIE-LCHlch(45.97, 60.95, 291.10°)
OKLaboklab(54.23% -0.0057 -0.1631)
OKLCHoklch(54.23% 0.163 268)
XYZxyz(18.3656, 15.2484, 59.7212)
Luminance0.1525 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4766CD #CDAE47
analogous
#47A9CD #4766CD #6B47CD
triadic
#4766CD #CD4766 #66CD47
tetradic
#4766CD #CD47A9 #CDAE47 #47CD6B
square
#4766CD #CD47A9 #CDAE47 #47CD6B
split-complementary
#4766CD #CD6B47 #A9CD47
monochromatic
#213579 #2E4AA9 #4766CD #778EDA #A7B6E7

Accessibility & contrast

On white

5.19
#4766CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#4766CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4766CD
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4766CD#FFFFFF#000000##FFFFFF
##4766CD1.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4766cd;
/* rgb */ color: rgb(71, 102, 205);
/* oklch */ color: oklch(54.2% 0.163 268.0);
Tailwind
colors: {
  custom: {
    50: '#8891dd',
    500: '#4766cd',
    950: '#000000',
  },
}
SCSS
$custom: #4766cd;
$custom-light: #8891dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4766cd",
  "rgb": {
    "r": 71,
    "g": 102,
    "b": 205
  },
  "hsl": {
    "h": 226.119,
    "s": 57.265,
    "l": 54.118
  },
  "oklch": {
    "l": 0.54226,
    "c": 0.16317,
    "h": 268
  },
  "luminance": 0.1525
}

Semantic roles & 50–950 ramp

primary
#4766CD
secondary
#D4C79B
accent
#BD47E1
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0D0C15
muted
#7D7D83

Preview Lab

Preview with #4766CD

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

Preview Lab → · Contrast checker → · Palette generator →

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