#4765DC#4765DC

#4765DC is a mid, vivid blue. Relative luminance 0.158; OKLCH L 55.1% C 0.185 H 268.9°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#4765DC
RGBrgb(71, 101, 220)
HSLhsl(228, 68%, 57%)
HSVhsv(228, 68%, 86%)
CMYKcmyk(67.7%, 54.1%, 0%, 13.7%)
CIE-LABlab(46.73, 27.84, -64.20)
CIE-LCHlch(46.73, 69.98, 293.44°)
OKLaboklab(55.12% -0.0036 -0.1847)
OKLCHoklch(55.12% 0.185 268.9)
XYZxyz(20.1661, 15.8123, 69.6856)
Luminance0.1581 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4765DC #DCBE47
analogous
#47B0DC #4765DC #7347DC
triadic
#4765DC #DC4765 #65DC47
tetradic
#4765DC #DC47B0 #DCBE47 #47DC73
square
#4765DC #DC47B0 #DCBE47 #47DC73
split-complementary
#4765DC #DC7347 #B0DC47
monochromatic
#1B328E #2544C1 #4765DC #7A90E6 #AEBBF0

Accessibility & contrast

On white

5.04
#4765DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#4765DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4765DC
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4765DC#FFFFFF#000000##FFFFFF
##4765DC1.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E0
Deuteranopia (green-blind)
#0068DA
Tritanopia (blue-blind)
#008297
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4765dc;
/* rgb */ color: rgb(71, 101, 220);
/* oklch */ color: oklch(55.1% 0.185 268.9);
Tailwind
colors: {
  custom: {
    50: '#8b90e8',
    500: '#4765dc',
    950: '#000000',
  },
}
SCSS
$custom: #4765dc;
$custom-light: #8b90e8;
$custom-dark: #000000;
JSON
{
  "hex": "#4765dc",
  "rgb": {
    "r": 71,
    "g": 101,
    "b": 220
  },
  "hsl": {
    "h": 227.919,
    "s": 68.037,
    "l": 57.059
  },
  "oklch": {
    "l": 0.55119,
    "c": 0.18472,
    "h": 268.9
  },
  "luminance": 0.15814
}

Semantic roles & 50–950 ramp

primary
#4765DC
secondary
#DED1A1
accent
#C83DEB
background
#F9F8FE
surface
#F1F0FD
border
#CBCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4765DC

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

Preview Lab → · Contrast checker → · Palette generator →

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