#4766CA#4766CA

#4766CA is a mid, vivid blue. Relative luminance 0.151; OKLCH L 54.0% C 0.159 H 267.8°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#4766CA
RGBrgb(71, 102, 202)
HSLhsl(226, 55%, 54%)
HSVhsv(226, 65%, 79%)
CMYKcmyk(64.9%, 49.5%, 0%, 20.8%)
CIE-LABlab(45.78, 20.89, -55.46)
CIE-LCHlch(45.78, 59.26, 290.64°)
OKLaboklab(54.02% -0.006 -0.1589)
OKLCHoklch(54.02% 0.159 267.8)
XYZxyz(18.0069, 15.1050, 57.8323)
Luminance0.1511 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4766CA #CAAB47
analogous
#47A7CA #4766CA #6947CA
triadic
#4766CA #CA4766 #66CA47
tetradic
#4766CA #CA47A7 #CAAB47 #47CA69
square
#4766CA #CA47A7 #CAAB47 #47CA69
split-complementary
#4766CA #CA6947 #A7CA47
monochromatic
#223575 #2F4BA4 #4766CA #778ED8 #A6B5E5

Accessibility & contrast

On white

5.22
#4766CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#4766CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4766CA
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4766CA#FFFFFF#000000##FFFFFF
##4766CA1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F73CE
Deuteranopia (green-blind)
#0967C8
Tritanopia (blue-blind)
#007D8E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4766ca;
/* rgb */ color: rgb(71, 102, 202);
/* oklch */ color: oklch(54.0% 0.159 267.8);
Tailwind
colors: {
  custom: {
    50: '#8791db',
    500: '#4766ca',
    950: '#000000',
  },
}
SCSS
$custom: #4766ca;
$custom-light: #8791db;
$custom-dark: #000000;
JSON
{
  "hex": "#4766ca",
  "rgb": {
    "r": 71,
    "g": 102,
    "b": 202
  },
  "hsl": {
    "h": 225.802,
    "s": 55.274,
    "l": 53.529
  },
  "oklch": {
    "l": 0.54015,
    "c": 0.15904,
    "h": 267.8
  },
  "luminance": 0.15107
}

Semantic roles & 50–950 ramp

primary
#4766CA
secondary
#D2C59A
accent
#BB49DF
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #4766CA

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

Preview Lab → · Contrast checker → · Palette generator →

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