#4766CC#4766CC

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

Color values

HEX#4766CC
RGBrgb(71, 102, 204)
HSLhsl(226, 57%, 54%)
HSVhsv(226, 65%, 80%)
CMYKcmyk(65.2%, 50%, 0%, 20%)
CIE-LABlab(45.91, 21.59, -56.40)
CIE-LCHlch(45.91, 60.39, 290.95°)
OKLaboklab(54.16% -0.0058 -0.1617)
OKLCHoklch(54.16% 0.162 267.9)
XYZxyz(18.2453, 15.2003, 59.0875)
Luminance0.1520 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4766CC #CCAD47
analogous
#47A9CC #4766CC #6B47CC
triadic
#4766CC #CC4766 #66CC47
tetradic
#4766CC #CC47A9 #CCAD47 #47CC6B
square
#4766CC #CC47A9 #CCAD47 #47CC6B
split-complementary
#4766CC #CC6B47 #A9CC47
monochromatic
#213577 #2E4BA7 #4766CC #778ED9 #A7B6E7

Accessibility & contrast

On white

5.20
#4766CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#4766CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4766CC
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4766CC#FFFFFF#000000##FFFFFF
##4766CC1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D73D0
Deuteranopia (green-blind)
#0067CA
Tritanopia (blue-blind)
#007E8F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4766cc;
/* rgb */ color: rgb(71, 102, 204);
/* oklch */ color: oklch(54.2% 0.162 267.9);
Tailwind
colors: {
  custom: {
    50: '#8891dc',
    500: '#4766cc',
    950: '#000000',
  },
}
SCSS
$custom: #4766cc;
$custom-light: #8891dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4766cc",
  "rgb": {
    "r": 71,
    "g": 102,
    "b": 204
  },
  "hsl": {
    "h": 226.015,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.54155,
    "c": 0.1618,
    "h": 267.9
  },
  "luminance": 0.15202
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4766CC

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

Preview Lab → · Contrast checker → · Palette generator →

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