#4764CC#4764CC

#4764CC is a mid, vivid blue. Relative luminance 0.148; OKLCH L 53.8% C 0.164 H 268.6°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#4764CC
RGBrgb(71, 100, 204)
HSLhsl(227, 57%, 54%)
HSVhsv(227, 65%, 80%)
CMYKcmyk(65.2%, 51%, 0%, 20%)
CIE-LABlab(45.38, 22.85, -57.25)
CIE-LCHlch(45.38, 61.65, 291.76°)
OKLaboklab(53.75% -0.0039 -0.1642)
OKLCHoklch(53.75% 0.164 268.6)
XYZxyz(18.0511, 14.8119, 59.0227)
Luminance0.1481 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4764CC #CCAF47
analogous
#47A7CC #4764CC #6D47CC
triadic
#4764CC #CC4764 #64CC47
tetradic
#4764CC #CC47A7 #CCAF47 #47CC6D
square
#4764CC #CC47A7 #CCAF47 #47CC6D
split-complementary
#4764CC #CC6D47 #A7CC47
monochromatic
#213477 #2E49A7 #4764CC #778CD9 #A7B5E7

Accessibility & contrast

On white

5.30
#4764CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#4764CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4764CC
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4764CC#FFFFFF#000000##FFFFFF
##4764CC1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2772D0
Deuteranopia (green-blind)
#0066CA
Tritanopia (blue-blind)
#007C8E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4764cc;
/* rgb */ color: rgb(71, 100, 204);
/* oklch */ color: oklch(53.8% 0.164 268.6);
Tailwind
colors: {
  custom: {
    50: '#888fdc',
    500: '#4764cc',
    950: '#000000',
  },
}
SCSS
$custom: #4764cc;
$custom-light: #888fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#4764cc",
  "rgb": {
    "r": 71,
    "g": 100,
    "b": 204
  },
  "hsl": {
    "h": 226.917,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.53752,
    "c": 0.1643,
    "h": 268.6
  },
  "luminance": 0.14814
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4764CC

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

Preview Lab → · Contrast checker → · Palette generator →

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