#4765D4#4765D4

#4765D4 is a mid, vivid blue. Relative luminance 0.154; OKLCH L 54.5% C 0.174 H 268.6°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#4765D4
RGBrgb(71, 101, 212)
HSLhsl(227, 62%, 55%)
HSVhsv(227, 67%, 83%)
CMYKcmyk(66.5%, 52.4%, 0%, 16.9%)
CIE-LABlab(46.18, 25.03, -60.54)
CIE-LCHlch(46.18, 65.51, 292.46°)
OKLaboklab(54.53% -0.0041 -0.1739)
OKLCHoklch(54.53% 0.174 268.6)
XYZxyz(19.1318, 15.3986, 64.2386)
Luminance0.1540 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4765D4 #D4B647
analogous
#47ABD4 #4765D4 #6F47D4
triadic
#4765D4 #D44765 #65D447
tetradic
#4765D4 #D447AB #D4B647 #47D46F
square
#4765D4 #D447AB #D4B647 #47D46F
split-complementary
#4765D4 #D46F47 #ABD447
monochromatic
#1E3482 #2A47B4 #4765D4 #798FE0 #AAB8EB

Accessibility & contrast

On white

5.15
#4765D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#4765D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4765D4
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4765D4#FFFFFF#000000##FFFFFF
##4765D41.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C74D8
Deuteranopia (green-blind)
#0067D2
Tritanopia (blue-blind)
#007F93
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4765d4;
/* rgb */ color: rgb(71, 101, 212);
/* oklch */ color: oklch(54.5% 0.174 268.6);
Tailwind
colors: {
  custom: {
    50: '#8990e2',
    500: '#4765d4',
    950: '#000000',
  },
}
SCSS
$custom: #4765d4;
$custom-light: #8990e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4765d4",
  "rgb": {
    "r": 71,
    "g": 101,
    "b": 212
  },
  "hsl": {
    "h": 227.234,
    "s": 62.115,
    "l": 55.49
  },
  "oklch": {
    "l": 0.54528,
    "c": 0.17396,
    "h": 268.6
  },
  "luminance": 0.154
}

Semantic roles & 50–950 ramp

primary
#4765D4
secondary
#D9CC9E
accent
#C343E5
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4765D4

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

Preview Lab → · Contrast checker → · Palette generator →

#4765D4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva