#4766CB#4766CB

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

Color values

HEX#4766CB
RGBrgb(71, 102, 203)
HSLhsl(226, 56%, 54%)
HSVhsv(226, 65%, 80%)
CMYKcmyk(65%, 49.8%, 0%, 20.4%)
CIE-LABlab(45.84, 21.24, -55.93)
CIE-LCHlch(45.84, 59.82, 290.79°)
OKLaboklab(54.09% -0.0059 -0.1603)
OKLCHoklch(54.09% 0.16 267.9)
XYZxyz(18.1257, 15.1525, 58.4578)
Luminance0.1515 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4766CB #CBAC47
analogous
#47A8CB #4766CB #6A47CB
triadic
#4766CB #CB4766 #66CB47
tetradic
#4766CB #CB47A8 #CBAC47 #47CB6A
square
#4766CB #CB47A8 #CBAC47 #47CB6A
split-complementary
#4766CB #CB6A47 #A8CB47
monochromatic
#213576 #2F4BA6 #4766CB #778ED8 #A6B5E6

Accessibility & contrast

On white

5.21
#4766CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#4766CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4766CB
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4766CB#FFFFFF#000000##FFFFFF
##4766CB1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E73CF
Deuteranopia (green-blind)
#0467C9
Tritanopia (blue-blind)
#007E8F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4766cb;
/* rgb */ color: rgb(71, 102, 203);
/* oklch */ color: oklch(54.1% 0.160 267.9);
Tailwind
colors: {
  custom: {
    50: '#8891db',
    500: '#4766cb',
    950: '#000000',
  },
}
SCSS
$custom: #4766cb;
$custom-light: #8891db;
$custom-dark: #000000;
JSON
{
  "hex": "#4766cb",
  "rgb": {
    "r": 71,
    "g": 102,
    "b": 203
  },
  "hsl": {
    "h": 225.909,
    "s": 55.932,
    "l": 53.725
  },
  "oklch": {
    "l": 0.54085,
    "c": 0.16042,
    "h": 267.9
  },
  "luminance": 0.15154
}

Semantic roles & 50–950 ramp

primary
#4766CB
secondary
#D3C69B
accent
#BC49DF
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #4766CB

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

Preview Lab → · Contrast checker → · Palette generator →

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