#4765C2#4765C2

#4765C2 is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.3% C 0.149 H 267.7°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#4765C2
RGBrgb(71, 101, 194)
HSLhsl(225, 50%, 52%)
HSVhsv(225, 63%, 76%)
CMYKcmyk(63.4%, 47.9%, 0%, 23.9%)
CIE-LABlab(45.00, 18.71, -52.10)
CIE-LCHlch(45.00, 55.36, 289.76°)
OKLaboklab(53.26% -0.006 -0.1491)
OKLCHoklch(53.26% 0.149 267.7)
XYZxyz(16.9865, 14.5405, 52.9399)
Luminance0.1454 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4765C2 #C2A447
analogous
#47A3C2 #4765C2 #6747C2
triadic
#4765C2 #C24765 #65C247
tetradic
#4765C2 #C247A3 #C2A447 #47C267
square
#4765C2 #C247A3 #C2A447 #47C267
split-complementary
#4765C2 #C26747 #A3C247
monochromatic
#24356B #334C99 #4765C2 #758BD1 #A3B2E0

Accessibility & contrast

On white

5.37
#4765C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#4765C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4765C2
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4765C2#FFFFFF#000000##FFFFFF
##4765C21.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3570C5
Deuteranopia (green-blind)
#1D65C0
Tritanopia (blue-blind)
#007A8A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4765c2;
/* rgb */ color: rgb(71, 101, 194);
/* oklch */ color: oklch(53.3% 0.149 267.7);
Tailwind
colors: {
  custom: {
    50: '#8690d5',
    500: '#4765c2',
    950: '#000000',
  },
}
SCSS
$custom: #4765c2;
$custom-light: #8690d5;
$custom-dark: #000000;
JSON
{
  "hex": "#4765c2",
  "rgb": {
    "r": 71,
    "g": 101,
    "b": 194
  },
  "hsl": {
    "h": 225.366,
    "s": 50.204,
    "l": 51.961
  },
  "oklch": {
    "l": 0.53259,
    "c": 0.14918,
    "h": 267.7
  },
  "luminance": 0.14542
}

Semantic roles & 50–950 ramp

primary
#4765C2
secondary
#CDC097
accent
#B84EDA
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83

Preview Lab

Preview with #4765C2

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

Preview Lab → · Contrast checker → · Palette generator →

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